The flight deck door should be capable of being:
remotely locked from either inside or outside the compartment.
locked from, within the compartment.
directly locked from outside the compartment.
remotely locked by cabin crew operation from outside the compartment.