The captain, who was badly wounded, has said he used his remaining energy while being stabbed to unlock the cockpit door, allowing people who had noticed alarmingly unusual sounds to come in, tackle the co-pilot and stabilize the plane.