> For the complete documentation index, see [llms.txt](https://help.lockpro.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.lockpro.io/how-to-create-secret-link-lock.md).

# How to create secret link lock?

Use the Secret Link lock when you want to hide content unless someone visits via a special URL.

{% embed url="<https://youtu.be/8mBlhi0q2GM>" %}

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="https://185022308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqfzIU1h6B4Xsg5FFsjxj%2Fuploads%2FQ44v0iG43xe44R1D1Tei%2Fimage.png?alt=media&amp;token=ef61dc57-fbb2-43a7-8e43-2a1f5fb0252f" 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="https://185022308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqfzIU1h6B4Xsg5FFsjxj%2Fuploads%2FgeCNCLZ4oJhUn9X6viMa%2Fimage.png?alt=media&amp;token=ed83f72b-fc5a-4f40-8da4-1e57cedc95ab" 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="https://185022308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqfzIU1h6B4Xsg5FFsjxj%2Fuploads%2FeDwTc8e0waULFKU0Noyd%2Fimage.png?alt=media&amp;token=74dd294c-7c50-4e3f-9312-f043183fdd51" alt="" width="375"><figcaption></figcaption></figure>
6. **Activate & save**
   * Ensure **Status** is **Active**.
   * Click **Save.**\
     \
     **FINAL OUTPUT:**\ <br>

     <figure><img src="https://185022308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqfzIU1h6B4Xsg5FFsjxj%2Fuploads%2FIbzUP1O9d6wG2ZwLCVJS%2Fimage.png?alt=media&amp;token=9bc673d5-3d7a-4a3d-81bf-a168e7be6470" 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.
