Door malfunction my ass. 

Ten will get you one that the pilot that got locked out of his own cockpit while in flight is a royal jack-ass and this is just the crew’s way of fucking with him.