The 10 Commandments were from the law of Moses and included the Sabbath requirements as dictated by that law.
His Commandments refer to the law of Christ and are referred to throughout the writings of the New Testament.
Example:
Now by this we know that we know Him, if we keep His commandments. He who says, “I know Him,” and does not keep His commandments, is a liar, and the truth is not in him. 1 John 2:3-4
Now he who keeps His commandments abides in Him, and He in him. And by this we know that He abides in us, by the Spirit whom He has given us.
1 John 3:24
For this is the love of God, that we keep His commandments. And His commandments are not burdensome. 1 John 5:3
His commandments refer to love and forgiveness, both of which He taught us about and carry the penalty of eternal damnation if not obeyed.
Whoever hates his brother is a murderer, and you know that no murderer has eternal life abiding in him. 1 John 3:24
Then there are the works of the flesh, most of which are not mentioned in the 10 Commandments.
Not mentioned in the 10 Commandments are highlighted in red.
Now the works of the flesh are evident, which are: adultery, fornication, uncleanness, lewdness, idolatry, sorcery, hatred, contentions, jealousies, outbursts of wrath, selfish ambitions, dissensions, heresies, envy, murders, drunkenness, revelries, and the like; of which I tell you beforehand, just as I also told you in time past, that those who practice such things will not inherit the kingdom of God.
Galatians 5:19-21
again
But fornication and all uncleanness or covetousness, let it not even be named among you, as is fitting for saints; neither filthiness, nor
nor foolish talking, nor coarse jesting are not fitting, but rather giving of thanks. For this you know, that no fornicator, unclean person, nor covetous man, who is an idolater, has any inheritance in the kingdom of Christ and God. Let no one deceive you with empty words, for because of these things the wrath of God comes upon the sons of disobedience. Therefore do not be partakers with them. Ephesians 5:3-7
again
Do you not know that the unrighteous will not inherit the kingdom of God? Do not be deceived. Neither fornicators, nor idolaters, nor adulterers, nor homosexuals, nor sodomites, nor thieves, nor covetous, nor drunkards, nor revilers, nor extortioners will inherit the kingdom of God.
1 Corinthians 6:9-10
JLB