Possible to block "sleep" and "home" buttons on iPhone?

Hello.

This may sound strange and unnecessary,
but is it possible to disable “sleep” and “home” buttons on iphone after the app has launched?

thanks,
Slav

No its not.
Apple does not offer any such capabilities, attempt to override them results in instant rejection.

you have to comply to the requirements which in this case means: listen to the callbacks in the application controller (or for you as unity user → listen to OnApplicationPause(bool pause)