We 'lock down' chromebooks to users. But we've taken a different approach to it. We use GAM to parse all chromebooks every 10 minutes, then compare the assigned user to the recent user. If there's a mismatch, GAM suspends the recent user. We run this script from a Windows server, and have been doing so for about 3 years now I think. Students know this happens, and 'offenders' are far and few between nowadays. Usually new students who forgot, or students who weren't paying attention. They all have to come to IT to get their account unlocked.
The script is a powershell script that invokes GAM for reading and writing to and from Workspace. It's about 100 lines of code (not optimized so could probably be shorter) and uses the device notefield in Workspace to make sure they don't get blocked again on the same day. The script logs incidents in a logfile and students usually go silent when we can specify the exact time when they used the wrong chromebook, and which chromebook 😄
We only use this for our highschool students (about 250) as they have assigned chromebooks.
I can share the script if there's interest.