If you want to disable own app, you can use OBJC
[[UIApplication sharedApplication] beginIgnoringInteractionEvents];
[[UIApplication sharedApplication] endIgnoringInteractionEvents];
Or do the same using NativeObject.
Dim no As NativeObject = App
no.RunMethod ("beginIgnoringInteractionEvents", Null) ' Or no.RunMethod ("endIgnoringInteractionEvents", Null)
But this code does not disable system Home button and user can switch to another app. IMO, real solution is to use ScreenShieldKit framework.