Except there is one setting of an Airbus door for which there is no key, only a time lock. And it is set from inside the cockpit -- to keep the terrorists out.
In this case, it may have kept the terrorist in...
How do they know it was a pilot knocking on the door? Do they have any idea what was going on in the passenger cabin?