Answer: Locke had been looking for a career and in 1667 moved into Ashley's home at Exeter House in London, to serve as his personal physician. In London, Locke resumed his medical studies under the tutelage of Thomas Sydenham. Sydenham had a major effect on Locke's natural philosophical thinking – an effect that would become evident in An Essay Concerning Human Understanding.
Locke's medical knowledge was put to the test when Ashley's liver infection became life-threatening. Locke coordinated the advice of several physicians and was probably instrumental in persuading Ashley to undergo surgery (then life-threatening itself) to remove the cyst. Ashley survived and prospered, crediting Locke with saving his life.During this time, Locke served as Secretary of the Board of Trade and Plantations and Secretary to the Lords Proprietors of Carolina, which helped to shape his ideas on international trade and economics.
Ashley, as a founder of the Whig movement, exerted great influence on Locke's political ideas. Locke became involved in politics when Ashley became Lord Chancellor in 1672 (Ashley being created 1st Earl of Shaftesbury in 1673). Following Shaftesbury's fall from favour in 1675, Locke spent some time travelling across France as a tutor and medical attendant to Caleb Banks. He returned to England in 1679 when Shaftesbury's political fortunes took a brief positive turn. Around this time, most likely at Shaftesbury's prompting, Locke composed the bulk of the Two Treatises of Government. While it was once thought that Locke wrote the Treatises to defend the Glorious Revolution of 1688, recent scholarship has shown that the work was composed well before this date.The work is now viewed as a more general argument against absolute monarchy (particularly as espoused by Robert Filmer and Thomas Hobbes) and for individual consent as the basis of political legitimacy. Although Locke was associated with the influential Whigs, his ideas about natural rights and government are today considered quite revolutionary for that period in English history.
Locke fled to the Netherlands in 1683, under strong suspicion of involvement in the Rye House Plot, although there is little evidence to suggest that he was directly involved in the scheme. The philosopher and novelist Rebecca Newberger Goldstein argues that during his five years in Holland, Locke chose his friends "from among the same freethinking members of dissenting Protestant groups as Spinoza's small group of loyal confidants. Baruch Spinoza had died in 1677.Locke almost certainly met men in Amsterdam who spoke of the ideas of that renegade Jew who... insisted on identifying himself through his religion of reason alone." While she says that "Locke's strong empiricist tendencies" would have "disinclined him to read a grandly metaphysical work such as Spinoza's Ethics, in other ways he was deeply receptive to Spinoza's ideas, most particularly to the rationalist's well thought out argument for political and religious tolerance and the necessity of the separation of church and state."
In the Netherlands, Locke had time to return to his writing, spending a great deal of time working on the Essay Concerning Human Understanding and composing the Letter on Toleration. Locke did not return home until after the Glorious Revolution. Locke accompanied Mary II back to England in 1688. The bulk of Locke's publishing took place upon his return from exile – his aforementioned Essay Concerning Human Understanding, the Two Treatises of Government and A Letter Concerning Toleration all appearing in quick succession.
Explanation:
Hope it helps