Student should not be allowed to lock the machines in the laboratory. This prevents them to prepend a machine and prevent access to other fellow students.
In a similar way, the password change menu should be disabled to encourage students using the web page for account management.
Use the Groupd Policiy Editor to disable both functions on Windows XP, follow the step-by-step instructions bellow: