The Heidelberg Catechism explains that the 5th Commandment extends beyond parents to all who bear delegated authority from God- but precisely because their authority is from God, it has limits.
See All 268 Episodes of "Ebenezer Reformed Church"