What to do when a door locks behind you

https://secureentry.evergrovio.com/posts/what-to-do-when-a-door-locks-behind-you

Panic can set in when a door locks unexpectedly behind you. First, stay calm and assess the door type. Many interior doors have a simple privacy lock that can be turned from the outside with a thin tool like a paperclip or flathead screwdriver inserted into the small slot on the knob. For a keyed lock, check if any nearby windows or alternate exits are accessible. If trapped in a room with no other way out, call for help or use a phone.