Replying to
Nothing will prevent him from wiping your drive if he has physical access to your device.
Physical access access to internal storage.
A locked case to stop tampering with drives and and a password protected BIOS/UEFI with a boot order that skips removable media should prevent OS installation (as long as your motherboard doesn’t have a reset button on the back faceplate too).