That could be seen as you saying that taking one's kids into locker rooms, public pools, etc. can possibly be equivalent to taking them to a park flashers are known to frequent. In both cases, it's "your kids are likely to see a penis here, so if you're not okay with that you probably shouldn't come".
I wouldn't say they're equivalent. One would be a criminal action directed at an individual for any number of possible reasons. That's a sex crime. If they're in a locker room changing clothes, then it's not directed at any individual and most likely no intent to commit any harm.
Here's another example, perhaps a closer equivalency to what we're talking about. I sometimes like watching blooper videos, and they had one video where a reporter was doing a live interview in a sports locker room (don't recall the team, sport, or league, but it's not important). Anyway, during the interview, another player had walked in view of the camera. Due to the camera angle, the player's face was not visible, you could only see below the waist, but everything below the waist was visible, if you get my meaning.
It was an accident; I'm sure the sports reporter wasn't intending to do a porno. The player may not have seen the camera or knew that it was on. I think the TV station still had to pay a fine, but it was clear that it was unintentional and inadvertent.
Maybe it's not something one would expect or want to see on TV, but accidents can happen. Would it be traumatizing to younger children? I can't really say. I'm not a psychologist, but my guess is that if a kid saw it, they'd probably think it was funny. Even adults think it's funny. I think it's funny, because I think bloopers are funny, even if most of them aren't that shocking.
Of course, there's also the question of whether they should be bringing in cameras to sports locker rooms in the first place. I still remember the hullaballoo back in the 70s when the male players got upset that a court order forced them to allow women reporters in the locker room. Of course, the media turned it into a big circus, as they are often wont to do.