A bizarre incident occurred recently on a SriLankan Airlines flight from Sydney to Colombo in which the captain locked the first officer out of the cockpit.