Disable Home Button After opening App

I want to develop an app for security purposes. in order to click some SOS button inside the app in case of emergency i want to disable iphones Home button when some one clock-in and again enable in case of clock out-without any changes in mobile management i want to do it programmatically any help will be appreciated.
AFAIK, you cannot disable the Home button. At least with public authorized API.
Disable Home Button After opening App
 
 
Q