The armored cockpit door has a large blow out panel exactly for this type of situation.
Incorrect. The cut-out is an escape hatch from the cockpit.
The provision for exactly this type of accident is implemented, however. To prevent overloading the frame, two cockpit pressure sensors are installed with inlets on the OVHD panel. They will release the latches for the door to swing open if pressure is lost in the flight deck.