The toilets on my floor have no locks for some reason. Or at least, they do, but they dont function. They are present on the door but have nothing on the door frame to lock into.
Anyway, more than once someone has pushed the door open. Everyone who uses those toilets know they do not lock, is it too much to ask to knock?