I've had laptops and desktops into the wall and a good surge protector. No problems either way.
However, given local weather and as of late with PS5s getting bricked if plugged in during storms, I would suggest unplugging whatever if there is "questionable weather".