There's a door here with a sign that says "Opening this door will set off the fire alarm". There is no alarm, but since they put that sign on the door has not been opened by anyone, while before it was used as a normal exit all the time.

If the imaginary lock looks real enough, most people won't even bother.