Compliance refers to when an individual changes their behaviour to fit in with the majority.
This is only a public change, meaning they maintain a different private view.
It is also a temporary change in that once the majority group are no longer present, the individual returns to their original behaviour.
An example: A teenager smokes to fit in with their friends even they do not like it and never smoke when alone.