The goal is to allow "student" users to use one app on the computer.
Ideally, the app should be the only app available in the Dock.
The Mac's configuration should remain constant from the student's perspective.
These setting for the student user help as a work around.
FileVault: OFF (to allow automatic login)
Password: SET (not known to students)
Auto Login: ON for Student
Require password after sleep, etc...: OFF
Require password to change System Prefs: ON
Screen Time down time: 12:01 am to 11:59 pm every day (can't seem to clsoe the gap)
Screen Time: only the target app Always Allowed
This way the password is never required for normal student acces and
users do not know the password to change it in System Prefs.