Edit: spelling
Lightning (as far as I know) does not have consciousness and is not out to get your computer!
The parent post was talking about putting a automatic switch in between the power supply to the house (ground active neutral) and switching it off when lightning struck, the problem there is that the switch will not do much if the lightning air gaps around it.
Ground is also a relative term for a lightning strike.
When lightning hits the ground, a potential field emanates from that point. The further out the closer to 0V the potential difference is.
As such it depends on where the strike is in comparison to the house, your wiring, where your house is grounded etc.
For example, if the grounding point on your house is very close to the strike, your house ground will be raised to the voltage of that point away from the stike.
The path to 0V may be through your active wiring, your powesupply, the house frame or the water pipes.
So yeah, hope that helps
That is unless are okay buying oil immersed equipment the size of a fridge. And that’s probably not enough, either.
Now here's one for the engineers. We can tell the future. Musicians change tempo before singing the next verse. ADS-B data tells us when there's a plane coming. Could a "smart" surge protector include a measure of ground noise, to sense local charge differentials, and guess that the next spike is probably lightning rather than a typical mains arc? More sensors yes, but increasing protection only when expected would possibly improve the feedback loop.