When I was in HS, at the exams we were expected to use our TI-84+ calculators, but we were not allowed to have any programs of our own, so they made us clear the programs before they handed out the problems.
Which you could work around by archiving and then unarchiving the programs. I remember having to do a soft factory reset for one class before exams, rather than just clearing programs. At least they took the policy to its logical extension