# Lock Folders

Use this rule to prevent access to certain folders in the project.

<figure><img src="/files/oXd6qJzl33EYYTuf7lf9" alt="" width="563"><figcaption></figcaption></figure>

### On workspace enabled

The specified folders get disabled and greyed out in the Project view. You won't be able to select, move, rename them; or to drag/drop items onto them.

<figure><img src="/files/wrqB89NF52WOkSJkcPF5" alt="" width="375"><figcaption><p>Art, Audio and Samples folder are disabled</p></figcaption></figure>

### On workspace disabled

The disabled folders are enabled again.

{% hint style="info" %}
You can specify an **entire path** by chaining folders with a "/" character. Make sure to enter the folder's path without the "Assets/" part.

Note that all sub-folders will be disabled too.
{% endhint %}

{% hint style="warning" %}
Note that **certain operations are** **still possible** on disabled folders, like for instance saving a file into them, or moving files into them using the OS File Manager. The disabling is purely a UI lock in Unity's Project view.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://tools.continis.io/hats/workspaces/workspace-rules/lock-folders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
