Secure cockpit entry after a crash was just one of a number of problems raised when the locked door regime came in. There are other problems with the system too, unrelated to this sort of accident, but no system can cover all circumstances to both prevent unauthorised access and give access in an emergency if the pass system is down or the door is jammed.