If the person inside the cockpit wants to keep a person out, it will be extremely difficult to open the door. -There is a keypad outside the door. Each airline has a secret code for opening it. It's designed so that when the correct code is punched into the keypad, The flight attendants and pilots all know it by heart.