This would be fun for when LEOs come in to take your computer, they can easily keep it powered so all of the decrypted keys stay in memory. Killing power means going back to an encrypted state. In high profile cases for desktops, there's techniques for splicing the power cable to switch to a battery pack. This would make it much easier for the unskilled LEO to take your shit. Cause we all know you're the one they're after. Sleep tight! ;-)
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