> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/pd-ag/parallels-desktop-for-mac-enterprise-edition-features/locking-a-virtual-machine-on-suspend.md). Agents can also search and read this documentation through its [MCP server](https://docs.parallels.com/landing/~gitbook/mcp).

# Locking a Virtual Machine on Suspend

To avoid possible security and privacy issues, a suspended Windows virtual machine can be completely locked from user interaction and viewing.

{% hint style="info" %}
**Note**: With Parallels Desktop for Mac 26.1 or newer, some virtual machine settings, including forcing virtual machines to lock on suspend, can now be controlled centrally using the [Management Portal](broken://pages/TGJTDEURG3xnSnT0id8o). Read more [here](https://docs.parallels.com/landing/pd-ag/preparing-virtual-machines-for-deployment-and-securing-them/policies.md#vm-settings).
{% endhint %}

When this option is enabled and a virtual machine is suspended, the Windows desktop in the virtual machine window (and in the Parallels Desktop Control Center) is replaced with a black background and the Windows session is interrupted. When the virtual machine is resumed, the Windows session is remained locked and the user will have to enter their credentials or authenticate (depending on how Windows is set up) to unlock it and see the Windows desktop.

To enable or disable this option:

1. Open Parallels Desktop and select the desired virtual machine (e.g. the source virtual machine when preparing it for mass deployment).
2. On the Parallels Desktop menu bar, select **Actions** > **Configure** to open the virtual machine configuration dialog.
3. Click the **Security** tab.
4. Depending on your needs select or clear the **Always lock Windows on suspend** option.
5. Close the dialog.

{% hint style="info" %}
**Note:** The **Always lock Windows on suspend** option is available only for virtual machine running Windows with Parallels Tools installed. For all other virtual machines, the option will be hidden.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/pd-ag/parallels-desktop-for-mac-enterprise-edition-features/locking-a-virtual-machine-on-suspend.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
