
No problem.
Yeah it’s great for giving your friends your phone if you don’t trust them not to try and fuck with you for jokes. Or if using it for playing music in a group gathering.
Even for children using the device. Particularly as you can set the volume and not give them the permission to change it.

For people with iPhone you can do this too.
Go to settings and pull down with your finger to get the search box to appear, then search for “Guided” and click “Guided access”.
Enable this setting as well as toggling “Accessibility shortcut”. Now you can open an app and triple click the lock button and select guided access.
Then on this screen you can press start in the top right or options in the bottom left to refine the controls, for instance:
Now the phone is locked in that app and to come out of it requires the passcode.
I use iPhone and I also tried a Pixel with Graphene OS.
Like the above commenter said it’s a trade off with convenience and for me it was too hard to do. Nothing wrong with the OS per se, but I just prefer the convenience of iPhone.
Another point is I’m a middle age software developer so not adverse to learning new things but I’ve got to the point that I want it easier. If I’m doing something I shouldn’t be doing then I’d have a device specific for that.