# How to prevent locked products from appearing in search results?

1- In Shopify Admin, go to Apps → LockPro.<br>

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

2- Go to an existing lock, or set up a new lock.<br>

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

3- As an example, the product you want to lock is shown here, and the option to hide resource links from all storefront areas is not enabled.<br>

<figure><img src="/files/4qRSvpgMYP5436GitsYf" alt=""><figcaption></figcaption></figure>

On the storefront, the search result appears like this.<br>

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

4- Turn on ‘Hide resource links from all storefront areas’ to hide the product from search results.<br>

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

5- Click Save to apply the changes.<br>

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

6- Once **Hide resource links** is enabled, the product will no longer appear in storefront search results.<br>

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

{% hint style="info" %}
Please note that this option works smoothly only on lockpro-supported themes.\
If you want to use this feature on a custom theme, please reach out to our customer support team for assistance.\
[Lockpro supported themes.](/what-themes-does-lockpro-supports.md)
{% 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://help.lockpro.io/how-to-prevent-locked-products-from-appearing-in-search-results.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.
