When you lock an app on Android, you immediately restrict access on your phone. Here are the steps to follow to lock an app via App Pinning.
https://www.digitaltrends.com/mobile/how-to-lock-apps-on-android/
https://www.digitaltrends.com/mobile/how-to-lock-apps-on-android/