There is a difference between a "surge protector" and an "uninterruptible power supply (UPS)". It's like comparing a bicycle and a motorcycle. Both get you places, but one is far more complicated and offers other features.
A surge protector is basically an inline fuse that fails at a specified level, to protect the electronics that connect to it. Fuses work very well. If all you care about is not having equipment fried by lightning striking your home, a $6 surge protector will do that.
A UPS has a surge protector, but also a sizable internal battery. The sizable battery is if in the event the power goes out, powered equipment stays powered. They cost much more because they are much more complicated than a simple fuse. This is not about just protecting against a direct lightning strike against your home, it's about protecting against data loss by not having the computer lose power unexpectedly.