With an increasing number of high-profile games taking influence from metroidvanias and immersive sims, we've gotten to the point where most action-RPG games allow you to pick locks and unlock doors. It didn't occur to me until I saw it in Morrowind - but most games don't allow you to lock those same doors. Many games allow you to fortify doors and bar them as a defensive measure, but almost none allow you to just 'lock' a door as a strategy. As a developer I can absolutely think of the technical restrictions which lead to this not being explored - but I'm still curious why games don't use this more? Especially horror games.

Are there any other games besides Morrowind which allow you to lock doors? If so, did it add anything to the experience or simply add an unneeded verb?