in fact , to protect the identity of the agents , the pilots cabin door was equipped with an electric lock , which released only once the plane had reached a certain altitude and the parachuting hatch had been opened and then closed again .