Why assume that there will be no cameras in locker rooms or bathrooms? If they aren't literally in such places, they do monitor who goes in and out.
I have actually read about a camera system for locker rooms that would use image recognition to blur nakedness. Another system blurred everything other than faces and the static background. We are far from being OK with such things in schools, but they are out there for more secure areas.