Asking for technological solutions to societal problems implicitly conveys the notion of “that which is not expressly forbidden is allowed”. If the result of you doing something stupid is someone taking advantage of your stupidity the take-away lesson is not to engage in that behavior again without expecting a similar outcome. I simply cannot accept that the solution to an individuals inattention is to inconvenience the rest of society.
Apparently the bathrooms are getting locks put on them in the office building here because some member of our society with a lower-than-necessary level of suspicion left his wallet in one of the mens rooms and then was shocked when he discovered it’d been stolen. The building management has decided to put locks on all the bathroom doors and provide each tenant with a single mens key and a single womens key. It has been decided that we are to be respected as much as patrons of gas-station bathrooms.
Depending on the type of lock used I fully intend to bypass this inconvenience. There is no reason, living in a civilized society, that I should be required to wait for a coworker to return from the bathroom so that I may take care of my bodily functions.