Locks overview
What a lock is in Sami B2B Lock, Password Protect, and where to go next to build one.
A lock is the core building block of Sami B2B Lock, Password Protect. Every lock combines three things:
Content to lock — what part of your storefront the lock protects (the whole site, specific products, a collection, a page, blog content, a custom URL, the cart page, or checkout).
Access rules — the conditions a visitor must meet to get through (logged in, tagged, has a passcode, arrived via a secret link, and many more). When you add multiple conditions to an access key, the visitor must satisfy all of them.
Lock behavior — what happens to the protected content and to blocked visitors (hide price and Add to cart, hide from menus and search engines, redirect, tag the customer, or set how long access is remembered).
The lock editor is two tabs: Lock setup, where you name the lock and choose its content type, and Unlock rules, where you add access rules and — right alongside them, in the same tab — configure the lock's blocked-visitor behavior. Fill in both tabs, then save. All of your locks live on the Manage locks list, where you can enable, disable, duplicate, preview, or delete them.
Content types you can lock
Each content type has its own guide with the full setup, including the options specific to that type. Some content types may require a paid plan.
Products and variants
All products, manually selected products, specific variants, or (from the create picker) by product tag or vendor
The other two pieces of every lock
Once you've picked what to lock, every lock needs:
Access rules — the conditions that decide who gets through. See Access rules overview for the full catalogue and how multiple conditions are evaluated together.
Lock behavior — what a blocked visitor sees and what happens after someone passes. See Lock behavior overview.
Managing your locks
Once you have one or more locks, head to Manage locks to view, enable/disable, duplicate, preview, or delete them, and to use the Quick Setup templates if you're starting from scratch.
Related docs
Last updated
Was this helpful?