alright guys, pretty sure my doors are on dead lock

, i removed the engine and while i did this i had the passenger door closed and locked and the drivers door open, now the engine is out im half way through stripping the interior and i cant open my passenger door and cant lock my drivers door. Wasnt a problem before but now it would make it alot easier if i could pull the dash out through the passenger door instead of the drivers side, does anyone know if theres a way to get the car out of dead lock so i can open my door using the key? otherwise im kinda stuffed haha
thanks in advance
Zen