Typically interior doors will have some way of opening a lock. For example, all the doors that lock in our house are of the "push button on locking side of door to lock" variety, and there is a very small hole on the locked side of the door, just large enough to allow a coat hanger diameter piece of matter through that if you push in, it will open the door.