Guided Access limits the content a user can access on your device. It’s a handy iOS feature that helps to protect your privacy when, for example, you let your friend borrow your iPhone.
6 Fixes When Guided Access Is Not Working on Your iPhone
Guided Access gives you control over what someone can access on your iPhone, but if it doesn't work properly, follow these troubleshooting steps.