You can always make 2 doors: First door starts a conversation, which leads to a dialog choice where the player picks the lock. This door can have a trigger to disappear when this dialog choice is reached. Second door is just a regular, openable door which can have a trigger to appear when that same dialog choice is reached.