But the reason why they are converted and the veil removed in this manner is because God wills it. For they could claim that God put the veil on them and therefore it cannot be removed. But the Apostle shows that it cannot only be removed, but even that it is removed by him who is the Lord. Hence, he says, now the Lord is the Spirit. This can be understood in two ways. In one way, so that Spirit is taken as the subject, as though saying: the Spirit, i.e., the Holy Spirit, namely who is the author of the Law, is the Lord, i.e., works by his own free will: "The Spirit blows where it wills" (Jn. ...3:8); "The Spirit, who apportions to each one individually as he wills" (1 Cor. 12:11). And where the Spirit of the Lord is there is freedom; as if to say: because the Spirit is the Lord, he can give freedom to enable us freely to use the writings of the Old Testament without a veil. Therefore, those who do not have the Holy Spirit cannot use it freely: "You were called to freedom" (Gal. 5:13); "Live as free men, yet without using your freedom as a pretext for evil" (1 Pet. 2:16). It can be understood another way so that by the Lord is meant Christ, as though saying: the Lord, i.e., Christ, is Spirit, i.e., has spiritual power. Therefore, where the Spirit of the Lord is, i.e., the law of Christ spiritually understood, not in a written code, but impressed on the heart by faith, there is freedom from every obscurity of the veil.
It should be noted that by occasion of these words, namely, where the Spirit of the Lord is there is freedom, and of those found in 1 Timothy (1:9): "The law is not laid down for the just", some have erroneously said that spiritual men are not bound by the precepts of the divine law. But this is false, for God's precepts are the rule of the human will. But there is no man or angel whose will does not need to be ruled and directed by divine law. Hence, it is impossible for any man not to be subject to God's precepts. But the statement that "the law is not laid down for the just" means that the law was not laid down "for the just" who are led by an internal habit to do what the law of God commands, but because of the unjust. Nevertheless, this does not mean that the just are not bound to it. Similarly, where the Spirit of the Lord is there is freedom, is explained thus: the free man is one who exists for himself, but the servant exists for the sake of the master. Therefore, whoever acts of himself acts freely, but one who is moved by another does not act freely. Therefore, one who avoids evils, not because they are evil, but because of God's commandment, is not free. But one who avoids evils because they are evils is free. But this is done by the Holy Spirit who perfects man inwardly with a good habit, so that from love he avoids evil, as if the divine law had commanded. Consequently, he is called free, not as though he is not subject to the divine law, but because he is inclined by a good habit to do what the divine law ordains.
Source: Commentary on 2 Corinthians