If NPCs can open doors how about giving the player the ability to lock a door behind them to prevent pursuit. Rogues could use the lockpicking skill to tactically lock doors to box in enemies or to divide large groups or to allow the player to retreat from a tough fight.