"But I had it plugged into a surge protector"
When lightning strikes near a power line, whether it's underground, in a building or running along poles, the electrical energy can boost electrical pressure by millions of volts. This causes an extremely large power surge that will overpower almost any surge protector. In a lightning storm, you should never rely on your surge protector to save your computer. The best protection is to unplug your computer. Unplug any of your electronics that you care dearly about if you want to be on the safe side.
Good luck tonight to all and be safe!