I too think useful information comes unfiltered from people who believe in trans ideology. Not at all rare from the Guardian though.
So this child is a girl (I'm using "girl" and "her" as her SEX not her gender id. To use preferred pronouns would render my point unintelligible and obscure the misogynist nature of the harm) who liked sports and wearing trousers, which for some sad reason made the adults around her feel uncomfortable.
The very least that could be infered from this account is that adults took insufficient interest in what was accessd by the child online, but often when you hear from the parents in interviews such as this, the homophobia and sexism is barely disguised. Or there's parents at war with each other and a neglected child in the middle.
It's good that the school was kind and sensitive to all by offering the disabled toilets (although if there was a high number of children with disabilities that would be much less true) but it's terrible they didn't fix the lock. Humans need to feel safe in order to use the toilet normally.
It's terrible that the school didn't deal with bullying.
I don't think that parents with regressive attitudes, broken locks or bullying are reasons for children to embark upon life changing medication though or for safeguarding protocols and "working together" to be ignored. This child has been failed by multiple adults, not least the ones who encourage her towards irreversible medication and surgery to address the failings of the environment around her.