lock [Lock Level]

Fallout New Vegas Console Commands
Command lock [Lock Level]
Description Lock safes, terminals, doors, and other unlocked containers. You can set the difficulty of the lock. [Lock Leve] ranges from 0 to 101. 0 is very easy, 25 is relatively easy, 50 is medium, and 100 is very hard. Setting [Lock Level] to 101 will make the item unpickable.
Opening the Console To open the console in Fallout New Vegas, press the ~ key while you are in the game. This key is usually to the left of the 1 key and below the Esc key. Enter the cheat command then press the Enter key.