Wounded captain unlocks door and stops cockpit takeover