Answer: The idea of the social contract for Locke is precisely to make the transition from the state of nature to the civil state, where through it, and regardless of the form of government, the properties and communities of internal and external conflicts would be preserved.
The social contract proposed by Locke does not resemble Hobbes's contract. For Hobbes the contract is a kind of submission pact where individuals submit to a third party (man or assembly). In Locke's contract, the social contract assumes the role of consent pact in which men agree to build civil society for the purpose of preserving and consolidating natural rights. The idea is that natural rights are based on a norm and the strength of the common represented by the decision-making center.
A long-term impact of the Napoleonic Wars on Europe was that European leaders began trying to create a balance of power on the continent. At the congress of Vienna European political elites agreed on a form of unwritten law that if any of the nations would reach for dominance in Europe other nations will form a coalition to stop it
The answer is that it took millions and millions of years. Over the history of Earth, tectonic plates have smashed into each other and dove under one another to literally move continents and create everything we see above ground