You can change your password when you are logged on to a school computer by pressing Ctrl+Alt+Del
When you are logged on to office 365 then press the “gear” at the upper right corner and choose “Office 365 settings”. Then choose “change your password”.
If you have forgot your password or it has expired then go to the office 365 login page and choose “Can’t access your account ?”
See more details here: