If a student changes classes, they must enter the class code for their new teacher.
The previous teacher must remove the student from their class list. If they are not removed from the initial class the intitial teacher will still be linked for unlocking lessons etc.