# General

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="#enable-app-embeds-on-theme">Enable app embeds on theme</a></td><td><a href="/files/e2bldVQtqUPnBfZWri8q">/files/e2bldVQtqUPnBfZWri8q</a></td></tr><tr><td><a href="#disable-app-embeds-on-theme">Disable app embeds on Theme</a></td><td><a href="/files/e2bldVQtqUPnBfZWri8q">/files/e2bldVQtqUPnBfZWri8q</a></td></tr><tr><td><p><a href="#delete-lock-s">Delete Lock(s)</a></p><p></p></td><td><a href="/files/e2bldVQtqUPnBfZWri8q">/files/e2bldVQtqUPnBfZWri8q</a></td></tr><tr><td><p><a href="#duplicate-lock-s">Duplicate Lock(s)</a></p><p></p></td><td><a href="/files/e2bldVQtqUPnBfZWri8q">/files/e2bldVQtqUPnBfZWri8q</a></td></tr><tr><td><p><a href="#enable-or-disable-lock-s">Enable or disable Lock(s)</a></p><p></p></td><td><a href="/files/e2bldVQtqUPnBfZWri8q">/files/e2bldVQtqUPnBfZWri8q</a></td></tr></tbody></table>

## 🔗 Enable app embeds on theme

In order to apply the lock to your site, please make sure that the app is integrated to the live/current theme.&#x20;

**Steps to manage**&#x20;

&#x20;1\. Open the app > click **Theme Setup**&#x20;

&#x20;2\. In the dropdown, select one theme you want the app to work on > click **Go to** **Theme Settings > App Embeds** button&#x20;

<figure><img src="/files/RQ6XyDbTne209wsGccpb" alt=""><figcaption></figcaption></figure>

&#x20;3\. In the theme editor, enable the app embed block

<figure><img src="/files/AW8I5OVreOyooJYKHAXu" alt=""><figcaption></figcaption></figure>

&#x20;4\. Click **Save** to update the theme

5\. You can check the lock on the storefront to see how it works.

{% hint style="info" %}
**Note**

* If you install the app on an unpublished theme, please preview the theme to check the result.&#x20;
* If you install the app on the live theme, please check the live website and see the result.&#x20;
  {% endhint %}

***

## 🔗 Disable app embeds on theme

To prevent the app data from working on your theme, you just need to **disable the app embeds on your theme.**

&#x20;1\. Open the app > click **Theme Setup**&#x20;

&#x20;2\. In the dropdown, select a theme > click **Go to Theme Settings > App Embeds** button&#x20;

<figure><img src="/files/FIkaUEUR9zrp0OcUIUHE" alt=""><figcaption></figcaption></figure>

&#x20;3\. In the theme editor, disable the app embed block

<figure><img src="/files/uXFgWwv7qRqAH6bzH6z1" alt=""><figcaption></figcaption></figure>

&#x20;4\. Click **Save** to update the theme

Check the result on the front end&#x20;

## 🔗 Delete Lock(s)

**Steps to manage**&#x20;

&#x20; 1\. Open the app > click **Locks**&#x20;

&#x20; 2\. Click More action icon > click **Remove**

<figure><img src="/files/a3BEhwcNRXYk3M3yxPFa" alt=""><figcaption></figcaption></figure>

Now the selected Lock(s) are deleted from the lock list in the app.&#x20;

***

## 🔗 Duplicate Lock(s)

**Steps to manage**&#x20;

&#x20;1\. Open the app > click **Locks**&#x20;

&#x20; 2\. Click More action icon > click **Duplicate**

Now the Lock has a copied one and shows up on the lock list in the app. This will help you create new lock quickly.

<figure><img src="/files/R0La1VT7avjxoFJYYcaa" alt=""><figcaption></figcaption></figure>

***

## 🔗 Enable or disable Lock(s)

### Disable a Lock

When a lock is disabled in the app, it doesn’t work on the site.&#x20;

**Steps to manage**&#x20;

&#x20; 1\. Open the app > click **Locks**&#x20;

&#x20; 2\. Click More action icon > click **Disable**

<figure><img src="/files/3ZZsHAH06eki9IbVVlGy" alt=""><figcaption></figcaption></figure>

### Enable a lock

When a lock is enabled in the app, it works on the site.&#x20;

**Steps to manage**&#x20;

&#x20; 1\. Open the app > click **Locks**&#x20;

&#x20; 2\. Click More action icon > click **Enable**

<figure><img src="/files/wybhg8zPn0tFy6UTK9Hg" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
**Need support?**

If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [support@samita.io](https://help.samita.io/support@samita.io)
{% 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://docs.samita.io/b2b-lock-password-protect/general.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.
