The most threatened by the social contract theory are those who uphold the divine right theory. A social contract is basically an agreement between the people and the government, while in the divine right theory, the right to rule is supposed to have come directly from God.
The idea of the social contract theory is that individuals consent to the surrender of some of their freedoms when they submit to the authority of a ruler. This submission is in exchange for protection the all rights remaining.
The social contract theory is the view that a persons moral and or political obligations are dependent upon a contract or agreement among them to form the society in which they live. Socrates used something like this theory in his work.
The theory of social contract as viewed by John Locke was invoked into the Declaration of Independence. He believed in inalienable natural rights and that the rule of God supersedes government authority.
Enlightenment thinkers viewed the social contract theory of government as problematic. They believed that the government would not be able to provide the means to alleviate the problems that modern society has created.
John Locke's theory of natural law applies to the social contract theory because it explains a person's rational thinking of giving up freedom to have political order. Natural law can refer to the use of reasoning.