As a foreign national living in US. It amazes me that public urination could land you in jail (specifically indecent exposure) however being naked in a locker room is supposed to be considered normal.
The article never once says "public locker room", it merely says "locker room". These are, presumably, parts of private establishments such as pools, saunas, gyms, etc. That is, one has to make the conscious choice to enter such an establishment.
Even if it's a publicly-funded establishment such as, say, a municipal swimming pool, the conscious choice to enter into such a place versus walking through an open street aren't comparable.
They both involve nudity in front of the opposite sex (and by extension, children of the opposite sex). I really don't want nudity to become something that's normalized in more places then it needs to be