@rey @Kyresti We've encountered the occasional bathroom like that, always in hotels. It doesn't really make sense to us.
I can imagine going to the bathroom in a house like that which also contains mischievous children would be annoying. Because it means even while the door is locked, someone outside could turn off the lights on you!
-F