One of my classmates did the Hitler salute and exclaimed "Heil Hitler" - an expression which is (rightfully) penalized in Germany, where I live.
The guy was a son of our local police officer.
He didn't got expelled, but he had a very stern talk with our school director. I presume that it was made clear to him that if this ever happens again, he's out. From what I heard last, in the last few years he was really ashamed of what he did when he was younger. I sincerely hope he is doing okay now - he got into the police, and people like him who recognize that being right isn't cool are needed.
Coincidentally my school is in Dessau; our city is well-known for producing Zyklon B, a lethal gas used in KZs across Germany, and a "case of sudden self-igniting" of a migrant called Oury Jalloh in a police cell. Obviously all the camera footage of that cell randomly broke down, there was blood found in the dining room and the guy didn't have anything to lit himself on fire with. But that all obviously is just a coincidence ¯\_(ツ)_/¯
Not a good city to do the Hitlers salute in (if there ever was any, which - surprise - doesn't), tbh.