Hmm, I suppose to be fair, we should both roll initiative. Whichever one wins has the spell take effect first? So if you succeed with the initiative roll, the door would be unlocked, but if you fail the will save after, you'd be immobilized.