If the Pilot is incapacitated in the cockpit then there are proceedures to enable other Pilot to get back in......so having a cabin crew inside only makes it faster.....
However If the Pilot inside has bad intentions then the other ain't getting back in........