30 Phil, Chapter 24, Locke, Touchstone 61: The Social Contract.
The social contract emerges out of natural rights and civil government. A government formed by the “collective will” of the people specifically to protect these rights. Citizens consent to be governed, but this consent comes with the stipulation that their inalienable rights must be respected and safeguarded.