The scene automatically closes if you aren't holding any Lockpicks. You need to assign a Lockpick item, and make sure your character has it in their inventory.