lock Console Command
Documentation and examples for the lock command in Skyrim.
lock
Lock a selected door or container at a chosen difficulty.
| Parameter | Description |
|---|---|
Lock LevelNumberoptional | The level to set. |
Command builder
Fill in the parameters to build a ready-to-paste lock command.
Examples
Here is an example of how to use lock.
Locks the selected object at an Adept-level difficulty.
Overview
Locks the selected door, chest or container, optionally at a difficulty level you specify from 1 to 100, where higher numbers are harder and values above 100 require a key. It is mainly used by modders or for roleplay, and to re-secure something you unlocked. Select the object first, then pass an optional difficulty number.
Frequently asked questions
How do you use the lock command in Skyrim?
Open the console with the tilde (~) key while in-game, type lock followed by its parameters, then press Enter. For example: lock 50. The console is only available in the PC version of Skyrim.
What does the lock command do?
Lock a selected door or container at a chosen difficulty.
What are the parameters for the lock command?
The syntax is lock [lock level]. It takes one argument: lock level (optional).
Does the lock command require any DLC?
No. lock is part of the base game and works without any DLC.
Does using lock disable Steam achievements?
Opening the console and entering any command, including lock, disables Steam achievements for the rest of that play session on PC. Reload an earlier save or use an achievement-enabler mod if you still want achievements.