Use event observer for custom model in Magento 2. Capture save event of magento 2 custom model.
Age verification is an important part of the online stores that are selling adult products or alcohols etc. In addition other stores may also need the age verification based on terms of services. To enable this feature we have come up with Age Verification Extension for Magento 2. This extension allows you to lock the store for unverified visitors. The visitors cannot access any page on the store unless they have verified their age.