Bedroom door privacy locks usually have one of two locking systems: You either push in the button in the middle of the inside knob -- sometimes turning it while you push -- or you push and turn the entire knob. Either way, it's all to easy to do this before you close the door, only to find the door locked and you on the outside. All you need is a paper clip or a plastic card the size of a credit card to get back in.
The Paper Clip Method
Most interior privacy locksets have a hole in the center of the outside knob. Straighten out a paper clip and
The Credit Card Method
Your lockset may not have a hole on the outside knob. Don't panic -- you can open the door with a plastic card. A credit card is ideal, but if you don't want to scratch the magnetic stripe and make it impossible to get money from an ATM, any plastic-laminated card, such as a library card, will work.
If the jamb has a stop that prevents you from doing this, use a pry bar or hammer to pry it up far enough to slip the card behind it. You may have to patch some paint after you open the door.
You'll know when you're there.
This action enables the card to slip between the end of the barrel and the door strike.
Putting inward tension on the card pushes the barrel in, and the door will open.