Hi Card -
Go into Settings > Accounts > Access Work & School, find the school account to right click and Disconnect.
Now you can remove it. I would ask your school's IT desk how you can use Teams on your PC without having your personal PC's control turned over to the school. Often a school's Group Policy for a connected student's PC is the same as for the school's own computers, which is too much for most personal users. But if you can tolerate it, I'd ask them what they've done with your virus protection.
If they cannot work this out for you, then I'd not have a school account on my personal PC. If you must, then I'd shrink C to install another Windows install in a Dual Boot which you use for the school and have it's Group Policy isolated to that separate install and not on your personal one. The steps to do this are the same as for this dual boot: https://nerdschalk.com/how-to-dual-boot-windows...
Feel free to ask back any questions. If you'll post back detailed results then I may know what to suggest next, if necessary.
______________________________________________
Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.