Is there a way to prevent someone from reinstalling Windows on a PC/Laptop?

You can prevent reinstalling Windows on your laptop.

  1. Keep control of your laptop.

  2. Have a very strong Disk and Computer Login (not operating system) password so that 99% of people simply cannot access. You can also have a supervisor password on your BIOS but don't ever forget that. The "login" password protect basic BIOS access. Person cannot access without the password. I know from my own machine.

  3. Encrypt if you wish. Be sure you keep the encryption password and credentials.

  4. Make sure you are using UEFI and Secure Boot to prevent booting with an unauthorized USB Key.

  5. Removing the battery and resetting BIOS died some years back.

So follow steps 1 to 4 and you will be safe. I follow steps 1 to 4 all the time.