Potential trigger follows
It is avoidable. My bathroom door has no lock. It is also amazing how many doors can be smashed in. Many years ago at work, a couple of us did it with a bathroom door that was heavy enough to have a fire rating. But if we'd waited for the fire brigade, there'd have been a dead kid. (Obviously can't say why, but they would have been) Amazing motivation. And yes, every bathroom lock in that hospital was removed that day, to be later replaced by ones you could easily open from outside, rather than ones that should have but didn't.
But if, say, it is a toddler and there is water in the bath, far far better to call the fire brigade to smash the door, than the ambulance because a child has drowned. As a taxpayer, I'd far sooner be paying them to break down doors, many many doors, to avoid one cold white limp toddler being run into A&E, receiving CPR in the arms of a distraught paramedic. There are few calls I dread more as a doctor than a crash call for a drowning, as it is so rare we can save them.... and so much even rarer that they are ever the same again.
Odd, a thread about bathroom doors has me in tears. Maybe we're human after all...