No...it is SOP to ALWAYS lock the door...again the question is why no flight attendant in the cockpit?
Who says no flight attendant was in the cockpit?
Maybe she/he had already been disabled.
ala box cutter