> 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-geo-lock-and-allow-specific-country-to-access-the-store.md).

# How to create Geo Lock and allow specific country to access the store?

1. **Open the Geo Lock page**\
   In Shopify Admin, go to **Apps → LockPro → Geo Lock**.
2. **Set restriction type**\
   From **Restriction type**, choose **Allow only listed countries (allow access)**.
3. **Add your country**
   * Click **Choose Country** and select the country you want to allow.
   * Your selected country will appear as a tag remove it if you change your mind.<br>

     <figure><img src="/files/DBe2RkgS4rBcOnTnL0h0" alt="" width="461"><figcaption></figcaption></figure>
4. **Define how to handle others**\
   Under **What happens when access is restricted?**, pick one:
   * **Show restriction message**: block access completely for visitors from unlisted countries see your custom message.
   * **Redirect to URL**: send them to a page you specify (e.g. `/pages/contact`).<br>

     <figure><img src="/files/NcuVI9saYUB1idklwAPI" alt="" width="375"><figcaption></figcaption></figure>
5. **Activate & save**
   * Ensure **Status** is **Active**.
   * Click **Save**.\
     \
     Final Output:<br>

     <figure><img src="/files/5EuHk6UxDQCy3GJJCnPN" alt=""><figcaption></figcaption></figure>

***

Now only visitors from your selected country can access the storefront. All others will see your chosen restriction behavior.
