> For the complete documentation index, see [llms.txt](https://tools.thehacker.recipes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tools.thehacker.recipes/mimikatz/modules/misc/lock.md).

# lock

`misc::lock` locks the screen. It can come in handy with [`misc::memssp`](/mimikatz/modules/misc/memssp.md). It has the following command line argument:

* `/process`: Default one is **explorer.exe**

```
mimikatz # misc::lock
```
