Most people really DO NOT understand how God's Commandments and Laws develops as time goes by. The 10 commandments was given to the early people of God which is the Israel... These laws were continued to be violated by the same people... except for the few who remained steadfast and faithful to God's laws... and later on died.
To save these people from continuing to sin, God sent Himself His messengers and prophets to bring the Israel back to its faithfulness and glorious service to God... but nothing happened. People continued to sin from the sight of God.
The Israel was cursed. It was no longer the people of God.
Because God still loves the world and the generations of His people, He sent Jesus Christ to fulfill God's "will". Christ didn't come to broke the laws of God but to fulfill.
In other cases, some commandments were NOT already applicable to Christ's time... because in Christ's time, which is the Christian era... it is God's "will" which matters.
Resting in Sabbath and some others were not enforced during the Christian era.
Christ even said that the most important in God's commandments is for the man to love God with all his mind, his soul, and his heart... and the other is to love his mother and his father. But it doesn't necessarily mean to disregard the rest of God's commandments.
There were indeed new commandments which Christ declared. He even created a "new creation" for the sake of God's "will".
After all it is God's "will" to His people that matters up to this time. 🙂