I think a better method is to totally isolate the pilots in the cockpit for the whole flight. Nobody allowed in period. Crew members could communicate with the pilots through an intercom in the crew area.
And your "solution" doesn't address the psychology of a hijack. If the flight crew is hearing their friends and their passengers being executed one by one just outside their "impenetrable" door, how long do YOU think they could hold out?