Hi OneOfTheFew. Welcome to the forums.
As James mentioned, “The Law” comprises ceremonial, judicial, and moral laws. The moral laws are to be observed always. Judicial laws were proper for the circumstances of the historical times and could change as needed (ie. Cost for slaves). Ceremonial laws (in particular) are no longer necessary as Jesus perfected the law. Please keep in mind that my simplified explanations are not exhaustive.
In the Levitical and deutero laws, we see distinctions made because of the disobedience of Israel. Some of these laws were imposed as penalties for that disobedience; they were meant to steer Israel back toward holiness. Without that disobedience, certain penalties would not have been necessary. Jesus perfected the broken covenant and took the penalties onto Himself. Consider this example.
“Thou shalt fear the Lord thy God and shalt serve Him only…” (Deut. 6:13)
“Thou shalt not tempt the Lord thy God…” (Deut. 6:16)
“…Not by bread alone doth man live, but in every word that proceedeth from the mouth of the Lord” (Deut. 8:3)
Moses chastised Israel for not following these precepts of God. They failed. One result for disobedience was that they wandered not 40 days, but 40 years in the desert, facing many other disciplinary hardships for continued disobedience. Fast forward to Jesus’s temptation in the desert (Luke 4). Responding to Satan’s temptations of disobedience, Jesus quotes these same precepts from Deuteronomy (successfully). He leaves the desert in 40 days and perfects the covenant broken by Isreal.
So should we imitate Christ by following these precepts? Yes, they are moral laws. However, we no longer celebrate the Passover (ceremonial law) because Jesus perfected that shadow in the Eucharist. Hope this helps.