It's not that I don't like my coworkers, and I do spend some time with them, but I preemptively block them on Facebook to have some safety. I do have them on Instagram but that's 99% pictures of my dogs or maybe vacation so that's harmless, with the odd goofy meme thrown in for good measure. But I do not add them anywhere I might express a political opinion or share something overly personal. (I also use filters on Facebook the odd time I do this). Someone once took a post of mine out of context and took it to my manager who met with me about it and scolded me with threats of discipline even though it actually had nothing to do with work, because this woman was in very deep shit for something else and trying to divert attention to other staff, because she's like that.
Also a couple of my coworkers are sort of passive antivaxxers (in that they got the two doses mandated for work but spend time telling us about how the vaccine doesn't work and we shouldn't be forced, etc), so they are blocked everywhere and I share very little with them at work besides brief remarks. I have also had some bad days in the last year where I have simply said things at home are tough because I'm obviously not myself, but didn't share what. I just keep a healthy distance but am reasonably friendly.