And then a hijacker force the pilot who is out of cockpit to tell/open the door.
Just don't care about doors, locks, codes etc.
The unsolvable problem is that, IF one of the pilots want to crash the aircraft , NOTHING can stop him. Even if the other pilot is in his seat. If a pilot want and have accept that he is going to die....everybody are going to die. END