Locksmith will automatically present locked content to customers after they sign into a store account and are granted access by a locks key conditions. Part of this involves redirecting customers back to the store location where they signed in for access.
However, Locksmith doesn't have a built in way to automatically redirect customers back to locked content after registration. This is because Locksmith doesn't handle the registration process at all.
All Shopify themes come with a registration form that includes Name, E-mail, and Password fields.
Changing the default location customers are redirected to after registration
The default location customers are redirected to after registration is determined by the theme and is typically the customer account page.
The team over at Helium apps have written blog post on how to change that location using their app or some JavaScript:
How to redirect customers to unlocked content after a customer creates an account
The access message and content that Locksmith presents for customer account key conditions can be modified to include a login and registration form on the same page. See our Customizing the customer login page guide:
We don't officially have support for a return redirect after customer registration, but it should be possible to achieve that using Helium's redirect script from the above section and modifying that script a little.
Replace the following:
var REDIRECT_PATH = '/checkout';
With this code:
The above modification should only work to redirect customers to locked content if the registration form was submitted from the access message Locksmith presents, for product, collection and page locks. For other parts of the store, customers will be returned to the homepage.