To password protect an app follow the steps given below:
- Open Settings.
- Go Accessibility > Guide Access > Toggle ON the switch.
- Choose Passcode Setting and tap on Guided Access Passcode.
- Now enter your desired password twice. Click OK.
- Now every time you open the app, you will be asked to enter the password.