Sounds captured on the recorder show one pilot banging on the door after being locked out of the cockpit.