If you only need to temporarily access a student’s account then you can use the Master Password functionality.
As a teacher, you are able to change the password for any student in your classroom.
Teachers can set a master password for each classroom. This allows the teacher to log in to the account for any student in that classroom using the student's username and the master password.
This will not change the student’s password.
Ensure this password is kept securely and change it as required.