> 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?

Use Geo Lock to restrict your store so only visitors from chosen countries can view it.

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="https://185022308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqfzIU1h6B4Xsg5FFsjxj%2Fuploads%2F2EBKPyibwSaNxITKsRbz%2Fimage.png?alt=media&amp;token=fa9a8d6e-8106-49f3-b75a-f10c4f07356d" 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="https://185022308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqfzIU1h6B4Xsg5FFsjxj%2Fuploads%2F5UseLDQRhF8zeGv9reBO%2Fimage.png?alt=media&amp;token=78bdd231-4a88-4d98-818a-8071dc42f1e2" alt="" width="375"><figcaption></figcaption></figure>
5. **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%2FIVTKrgkZyN3jUit3FwI6%2Fimage.png?alt=media&amp;token=495e9b8e-7e58-448e-a492-26f09368849f" alt=""><figcaption></figcaption></figure>

***

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