As giant said, surge protectors only clamp voltage beyond a certain value given some amount of surge current and that's that.
If you want buck/boost voltage regulation, you need an "Automatic Voltage Regulator" but most affordable types of AVR only support one or two levels of voltage regulation by using transformer taps and relays to change taps.
If you want more accurate voltage regulation, you would need either an AVR that uses a motorized variac or an online UPS, aka double-conversion UPS. The morotized variac has laggy response time to line voltage changes but is still a relatively cheap way of regulating line voltage. The online UPS has no response time since its output is generated from internal DC/battery voltage all of the time but is more complex, less efficient and more expensive.