Default [Q] Recovery password

We develope tab pilot to lock tablets down so students can't get into any app except what the teacher wants. Its great except for a tech savvy student that knows how to boot into recovery and wipe the device. If there was a way to put a password on twrp or cwm they would not be able to wipe it. If the device stays at school they would not have access to a PC so they couldn't flash another recovery image. Is there a way to put a password on recovery?
If would be great if someone could help or had any other ideas.