Kiosk/Demo Mode

I have a mobile project that functions similarly to games on a public demo kiosk or at a store, where users can play the game, but don’t have the option of quitting the game without specific inputs. This way they can’t mess with the phone settings, or otherwise ruin the experience of other users coming after them on the device.

I have a specific method of exiting the game, but there’s nothing preventing them from using the home button, the power button, or swiping the the navigation bar to get access to other method’s of exiting the game.

Is there a way of preventing access to those features? Maybe similar to how a custom Home Screen launcher works on Android?