Not exactly on topic here, but has any carrier considered the 'airlock' type doors that are common on security vans for the flightdeck door.
Then the crew could monitor who's coming up (by cctv or a window), allowing little Jimmy to visit the cockpit, but creating a ready made prison for any evil doer who tries to gain access.
Whaddaya think, should I take out a patent?