John Locke's social contract theory came from his idea that in a state of nature, people had to find a way to protect each person's rights. They therefore banded together under an agreement, called the social contract. This would create a government that would have the power to make and enforce laws.
Center for Civic Education