Don’t do that, please
Kids usually have a different dynamic with their fathers than they do with their mothers. Someone is always a good cop and someone else is always a bad cop, it’s just the way it is. We have never seen parents who are the exact same in their parenting skills, there is always a contrast.
Usually, the dad is more relaxed and not so strict, whereas the mom is the one that sets all the rules. We are stereotyping of course, but in all honesty that is usually the case. So when this dad told his kid to behave while he was gone, he meant not to act like they usually do around him.