How to lock a bathroom door.
Close the door. Find the locking mechanism like a knob or lever, and twist it either clockwise or counter-clockwise until the lock is engaged. Try to open the door to see if it's properly locked.