Locks for showers and toilets