The law was a tutor leading to Christ. It demonstrated the incapacity of humans to perfectly keep a perfect law. Jesus “fulfilled law”. When Peter and the others met in Jerusalem to decide whether circumcision would be required of Christians they decided not. The law had fulfilled its purpose, but since it was a perfect law, many of the things it forbade are still wrong, like murder, adultery, theft, idolatry and so on. It doesn’t mean the law is still in force.
I’ve heard it explained that the ceremonial law is no longer in effect after Jesus’ death, burial and resurrection. However, the moral law is in effect for all time.