
First thing is to make your iOS Jailbreak.

To enable the lock feature, you need to follow these steps – This app allows you to protect your apps by setting a passcode or Touch ID from inquisitive people around you. BioProtect is available for $2.99 on Cydia’s BigBoss repo. You can use BioProtect to lock apps on iPhone. To use third party app to lock apps on your iPhone, you need to jailbreak it. Lock Apps on iPhone via Third-Party Apps – Tap on Start at the top of the screen to begin Guided Access.You can check the Options to adjust settings for the session. Navigate to any app you want to open and triple click the Home button, then circle any area on the screen that you would want to be inaccessible. Once you set up Guided Access, you can start a Guided Access session.Turn on Guided Access and set a passcode for it.Navigate to General then click on Accessibility. It prevents others to access any other app when you don’t wish them to. It confines your phone to a single app and lets you control which app features should be available. It enables you to stay focused on a task while using your iPhone. Guided Access is a wonderful feature present on iPhone. The biggest con of the feature is, it doesn’t restrict the access to third party apps.

To set another passcode, you need to disable restrictions and enable them again then, it would ask you to set another passcode.

You can toggle the slider to the left on the apps which you don’t want others to access.
