I don't know for other countries, but as for France, it's compliant with the exam-mode that all calculators must comply to for national exams.
So I can't say for your specific case, but if you're a teacher, at least this feature exists and you can use it with your students.
By the way, even the iPhone has some apps compliant with this feature, where you're basically locked into the App. If you do manage to leave the App (i.e. by force restarting your phone), you void the exam start timestamp that the App saved