Meaning : (psychiatry) a defense mechanism in which a person unconsciously develops attitudes and behavior that are the opposite of unacceptable repressed desires and impulses and serve to conceal them.
Example :
His strict morality is just a reaction formation to hide his sexual drive.