# Creating Lock for specific Products

**Steps to manage**

1. Open the app > click on the **Locks** section > **Create Lock**

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

2. Choose the type of lock you want. There are **7 contents** the app supports hiding: **Entire website**, **Product, Collection, Blog, Page URL, Page.**

In this case, please choose "**Specific products**" to start setting up lock for the products you want.&#x20;

<figure><img src="/files/7mzCPxPKzpg0lSM9NIHi" alt=""><figcaption></figcaption></figure>

3. In the **General settings** > Set up **Name** for the lock:

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

4. In the **Restricted products** section, you can choose to hide the products within the options stated in the app. You can lock "**All products**" or "**Specific products**" by selecting **Manual products/Product tags/Product vendor.**&#x20;

In this case, we use the “**Manual products**” option as an example:

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

*\*You can choose more than one product.*&#x20;

*\*You also can select to lock product variant. For more details, kindly* [***review this document***](https://docs.samita.io/b2b-lock-password-protect/~/revisions/FJjvuk4U15VdGlOM6bxa/lock-1/creating-lock-for-specific-variants)*.*&#x20;

5. In the **Product Settings** section:&#x20;

* If you want to **hide the entire product** (cannot access product pages and not show products in the product list) - **Turn on the setting: Fully hide products**&#x20;

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

*\*Enable this setting if you want to show placeholder for the hidden products.*&#x20;

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

* If you just want to **hide price and cart button of the product** (can access product page and the product itself can still be seen in the product list) - **Turn off the setting: Fully hide products** and check on the below settings:&#x20;

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

You also can configure to hide the product in Google by checking the settings in **Google settings**:&#x20;

<figure><img src="/files/6d0IK6RWALS61G2OZ9Rf" alt=""><figcaption></figcaption></figure>

These settings help you:&#x20;

* Hide products within collection pages/product lists
* Hide products on Google via search/search engine.&#x20;

6. Set up **Conditions settings**: Select who can (or cannot) access the content, and the direct page when customers access the Lock. Refer to this [document](https://docs.samita.io/b2b-lock-password-protect/lock-1/lock-condition):

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

7. Click **Save** to update the changes

Check the result on the front store.&#x20;

{% 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://samita.io/pages/contact)
{% 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/lock-1/creating-lock-for-specific-products.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.
