The premise of your argument would have you opening the door to prevent the early death of a crew member...
Exactly. I can't see how you can possibly guarantee that every pilot who steps out of the flight deck will be prepared to die to keep the door locked.
You need to decide whether you want to stop 9/11 from happening again or the Germanwings from happening again, you can't have both.