It seems the person was trying to open emergency door, not cockpit door. BTW, based on the information available, I could wager a guess of some sort of mental instability... in that case he doesn't need 10 years of supermax, but proper treatment and care...