That's why pretty much all desktop and server mobos have a "chassis intrusion" header that you can connect to a sensor/switch. Your machine should wipe keys or reboot if it's opened or moved.
This is a good idea! Kind of makes me wish I was a drug kingpin with a PC full of secrets so that I could justify trying that. Sadly I would just end up with a kid rebooting the PC by bumping into it :D