Jesus did follow the Law, but he put the focus on the spirit of the Law, not on the letter.
He did not go out of his way to break the rules gratuitously, just denounced when these rules were followed in a way contrary to the purpose for which they were given in the first place.
He did not condone slavery, he said love your neighbour as yourself. He also advised not to owe anything to anyone.