The door that goes from my house into my garage is a traditional interior lock. You push and turn the nub in the center of the doorknob to lock.
Traditionally, once the door is locked, you cannot turn the handle.
However, recently, I seem to have been getting locked in the garage. I realized that now, the lock is operating differently. When locked, the handle can still be turned to open from the inside, but the side to get back in stays locked.
I have seen doors work like this before (I assume to allow for free exit during fire). But in my case, is my doorknob likely broken? Or is it a setting that I inadvertently triggered. The doorknob is old so it doesn't appear to be any kind of new technology I'm not aware of.
I'm pretty sure that those are designed to be unlocked when you turn the handle from the inside. So all you have to do to unlock the door is open it from the inside. You would then have to relock it for it to be locked again. Sounds to me like that's not working for your door anymore. Opening it from the inside, doesn't unlock the door it just allows you to open the door. The lock is faulty in my humble opinion and either needs to be serviced or replaced.