Can I lock my learners in either learn or test mode?

Yes, head into your Sim's Properties, and find the drop-down menu under "allowed mode." Here, select which mode you would like your learner to be able to access.

lock learn test