Have the key in your inventory look at the door chest display case then press the hotkey.
													
																	Skyrim how to lock doors with console. 
									
	
		
	
																	A lock is a housebuilding item used in the construction and furnishing of homesteads in the elder scrolls v. 
																	There is no lock you cannot open aside from quest doors even if you have a lowly level of 20 lockpicking. 
																	Detailed documentation with help and examples for the unlock command in skyrim on steam pc mac. 
																	1 open the console. 
															
													
									
	
		
	
																	A container chest or door you have selected as your target. 
																	When you encounter a master lock have plenty of picks and gradually probe areas around the lock. 
																	This console command will instantly unlock the object e g. 
																	3 then use the command lock like these. 
															
													
									
	
		
	
																	2 click on the chest door gate or what ever you want to lock. 
																	You place a lock on a door chest display case etc then use the key to lock or unlock it via a hotkey of some sort. 
																	76 100 master lock. 
																	51 75 expert lock. 
															
													
									
	
		
	
																	Lock lock level target command. 
																	A number that defines how hard this lock will be to pick. 
																	If it s locked it unlocks and opens. 
																	26 50 adept lock. 
															
													
									
	
		
	
																	0 25 apprentice lock. 
																	You just need plenty of lockpicks which many vendors will sell especially tonilia in the thieves guild.