# How to create secret link lock?

1. **Open the Create Lock page**\
   In Shopify Admin, go to **Apps → LockPro → Create Lock**.<br>
2. **Choose what to lock**
   * Under **What do you want to lock?**, select **Products**, **Collections**, **Pages**, etc.
   * (Optional) Check **Hide resource links from all storefront areas** to remove mentions in menus, search, and footers.
3. **Select “Secret link”**\
   In **Lock type**, choose the **Secret link** option.<br>

   <figure><img src="/files/Z9JtgFfdOsM07dvPcNIQ" alt="" width="371"><figcaption></figcaption></figure>
4. **Add your secret tokens**
   * You get 2 pre-filled secrets tokens but if you want to add more click **Add secret**.\ <br>

     <figure><img src="/files/2spKGifunJLIOW7TRLaY" alt="" width="375"><figcaption></figcaption></figure>
5. **Customize the unlock message**\
   In **Secret link message**, type the notice you want visitors to see if they land on the locked page without a valid secret (e.g. “This page is locked please enter your secret link.”).<br>

   <figure><img src="/files/Y0PBkisOtA74taXXUoeh" alt="" width="375"><figcaption></figcaption></figure>
6. **Activate & save**
   * Ensure **Status** is **Active**.
   * Click **Save.**\
     \
     **FINAL OUTPUT:**\ <br>

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

***

Now anyone who visits your locked URL with a matching `?secret=` parameter will see the page; all others will see your unlock message.


---

# 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://help.lockpro.io/how-to-create-secret-link-lock.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.
