I'm going to lie about my political beliefs at work so I can advance in my career.
That seems deceptive, why would you lie to advance your career?
Because I don't want people to think that I am a bad person, even if I am a good worker.
I understand that the political climate today is such that talking about politics at work can be a tricky subject, but it's bad to lie to your coworkers. Instead of lying to them, you can just keep your opinions to yourself, especially because talking about politics is sometimes inappropriate in an office setting.
That's not a satisfying answer.
It doesn't have to be a satisfying answer nor something that would make you justify trying to lie about your political beliefs. If you have to lie about it, then there might be something wrong with your beliefs if you can't stand your ground with it. Plus, you can't even be discriminated against your political beliefs and it is illegal for companies to not promote you just because of it.