To lock apps on your iPad, you can set its Screen Time feature for limiting app usage to passcode-protect apps, and customize ...
If your smart lock is connected to a voice assistant, be sure to use a PIN to unlock it with voice commands. It's a stretch, but it is possible to create workarounds with IFTTT to avoid using the PIN.