'twas his job to shut the traffic gates before the train turned up.The pedestrian gates were locked shut.