You would lock the door because you want to trap someone inside