I don't think it is recommended to intervene in discipline. The older generation of in-laws think that children are too young to understand anything and should not be so "disciplined" and "punished". These things will naturally understand when they grow up and will protect children who have made mistakes.
This will also have a bad influence on children: they will feel that they will be protected when they make mistakes, which will make them more proud and indulgent.
As a parent, I think children should be well disciplined from an early age, form correct values, and have their own behavior when they grow up.
At this time, parents should stand firm, adhere to the correct way of education, and then communicate with their parents-in-law, and don't interfere casually when disciplining their children.