Please refer this article
how can we run the app in kiosk mode and How can we prevent the installation of third parties applications?and auto restart app? - Telpo Q&A