The level of the lock scales with the number.
Skyrim how to keep npcs from opening locked doors.
They tend to fight or wander back to their posts so thus far i ve done it by simply turning off their ai.
What i m trying to do is place random npcs around my house to make it look cooler.
The reason i set it to 6 is because if an npc needs to go through a door or entrance and it s being used or someone is in the way they have a small in game delay.
Works like a charm.
Kill look at the thing you want to kill open the console.
For the opposite effect you can set chests doors or npcs to a locked state with a number from 1 100 representing the difficulty.
The next best thing other than a mod would be to use the lock command.
If you wait in front of a locked door for 24 hours the npc cannot open it on time because you are in the way.
Had this issue in whiterun with belethor everytime.
If you stand in front of the entrance or anywhere in the pathing of the npc you disrupt their routine.
There is a campfire on the walkways above near a lookout platform.
Obviously nothing changes in game but i can go on thinking i wiped them out.
Away from the door and not blocking paths.
For example i ve got a fully armored thalmor girl outside my bedroom door in solitude and a few generic mercenaries in the basement.
Now i wait on the well.
It would lock the door and you could unlock it with the unlock command.
Can npcs open up any locked door that they re knocked into.
It all worked out for my roleplay.
70 of the thieves guild is dead and the treasury door is wide open so mercer wouldn t be able to cling onto power.
I believe that with the lock command it goes lock number 1 100 where 100 requires a key.