A rational question to ask is "what is a woman doing in a men's locker room?" but I'm pretty sure that you're more interested in forcing men to act like women than rationality.
I guess the team requested she go into the locker room to do physical therapy. I don’t think she went in there on her own without permission.