To lock apps create an automation to trigger that shortcut when opening an app,you can choose all your apps if you want,but be sure to add the Shortcuts app to that list,if you dont add it they can acces the Shortcuts app and delete the shortcut and access the locked apps.