Term: lip service
Example: the boy paid his father lip service but as usual went and did his own thing
Definition: to say something just for the sake of something or someone else