It worked majority of the time. It typically stopped to work only when power to be ceased to have power.
Both nazism and communism were extremely successful in this. The monarchies did this successfully for very very long time. It ceased to work only when their lost power for unrelated reasons. Saudi Arabia is going strong.
The suppression of nazi ideology post WWII did not lead to blow back either.