WoooPigSooie
Pre-Flight
Seems easy to find how to open the door as crew guides are on the internet... but I guess someone with knowledge could kill that system.
It requires a conscious person and a deliberate action of someone inside the flight deck to lock someone out and prevent entry to the flight deck.