You can take steps to minimise the effects of power surges and fluctuations caused by lightning strikes by installing an RCD - if you are in an area prone to lots of electrical storms, and if the data is precious, you can use a UPS. But as parker_307 said, it is wholly unlikely that the actual PC will get hit. The majority of PC cases are made from at least 50+% metal.