Given that taking someone of life support takes a number of different steps, it doesn't sound too feasible (outside of TV shows, anyway) for it to happen.
If someone is on life support, generally they're in the ICU and would be much more frequently monitored.
Additionally, most hospital doors don't have locks on the patient rooms. In the ICU it's even worse - it's often a curtain, rather than a door.