Up thread someone mentioned a combo key pad to get in normally from the outside, in addition to a deadbolt mechanism inside to intentionally isolate/secure the pilots.
Here, this will tell you more than you should know about the cockpit door:
https://www.youtube.com/watch?v=ixEHV7c3VXs