Locomotives don’t have dead man’s switches any more?
The dead man's switch only works while the engine is running. The only way to secure the train is to set the manual brakes and chock the wheels. That way if the air bleeds down on the air brakes you're not depending on them alone to immobilize the train.