> For the complete documentation index, see [llms.txt](https://docs.engagevr.io/engage/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.engagevr.io/engage/host-controls/locking-a-session-or-event.md).

# Locking a Session or Event

As a host, you can lock a Session or Event so that no additional users can join. For example, to hold a private conversation with another user or to prepare an Event space without risk of interruption.

{% hint style="warning" %}
For standard Sessions and Events, the person that creates the Session or Event is the only person that can lock and unlock it. For persistent and scalable Sessions, any host can lock and unlock the Session.
{% endhint %}

To lock or unlock a Session or Event, complete the following steps:

1. In the Session or Event, open the menu, and then select **Host Controls** <img src="/files/bTt7cPfqc3Y5PAHZIalW" alt="" data-size="line">.
2. On the **Host Controls** page, select the **Host Actions** tab.
3. Turn the **Lock** toggle on to prevent users from joining or off to allow users to join.

<figure><img src="/files/qiUKbrnl3FU4O6IbcC6I" alt=""><figcaption><p>Option to lock and unlock a Session</p></figcaption></figure>

{% hint style="info" %}
Persistent and scalable Sessions unlock automatically after the last person leaves.
{% endhint %}

{% hint style="info" %}
If there are multiple hosts in a standard Session, and the person that created the Session locks it and then leaves, the Session will remain locked and nobody will be able to join. However, an exception is made for the person that created the Session, who is able to re-join the Session, and can then choose to unlock it.
{% 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.engagevr.io/engage/host-controls/locking-a-session-or-event.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
