Windows only allows one primary sign‑in identity, so you can’t simply replace a personal account with a school account after setup. You can you either join Azure AD or reinstall with the school account, otherwise, the personal account remains the base identity.
Do you know if your school provides Azure AD join or Intune enrollment? That will determine whether you can switch directly or need to re‑provision.