There are in fact other mods that let the player lock doors containers but i had some specific ideas for how i wanted this to work in my game and thought i d share the end result with you all.
Skyrim lock doors for home mods.
The perk branches off from locksmith sss and has a requirement of 80 lockpicking and of course locksmith.
Pinewood village a bosmer treehouse village up in hjaalmarch with a small player home you can build and upgrade.
Just use the e key or what you have set to activate things with the modifier key pressed shift by default or your custom keycode you can set via the simplylockdoorskeycode global variable.
In vanilla game key is disposable once you unlock a door or chest with a key you can t lock it anymore i can t feel secure in breezehome with the door unlocked.
Yep shift e and if you have the key the door will be locked.
You ll want to not follower take though cause sometimes they and horses tell your horse not to follow you if necessary convenient horses is helpful for making your horse less of an idiot as well as adding a horse inventory you can put loot in.
Unequip any weapon from your right hand activate the object select the lock option.
You ll need to be sneaking and you ll need at least one lockpick in your inventory then approach any door and you get the option to lock it or open it as normal.
But i find them a bit cheaty since you can lock any object using a spell or even a lockpick.
There are a lot of mods that introduce the locking feature.
It s mostly a small immersion mod but it feels good to lock up your homes gates when leaving and it s nice to have the skeleton key be more functional.
How to lock a door chest.
A simple mod just for fun.
In contrast in this mod you must have a key in your inventory.
The player home has clear windows.
It locks to novice level.
In hearthfire dlc though i craft locks to build my home there is no lock attached to the door in fact anyone can enter my house are you kidding me.