With regard to his position on religious tolerance, Locke was influenced by Baptist theologians like John Smyth and Thomas Helwys , who had published tracts demanding freedom of conscience in the early 17th century.    Baptist theologian Roger Williams founded the colony Rhode Island in 1636, where he combined a democratic constitution with unlimited religious freedom. His tract The Bloody Tenent of Persecution for Cause of Conscience (1644), which was widely read in the mother country, was a passionate plea for absolute religious freedom and the total separation of church and state.  Freedom of conscience had had high priority on the theological, philosophical and political agenda, since Martin Luther refused to recant his beliefs before the Diet of the Holy Roman Empire at Worms in 1521, unless he would be proved false by the Bible. 
Locke attacks both the view that we have any innate principles (for example, the whole is greater than the part, do unto others as you would have done unto you, etc.) as well as the view that there are any innate singular ideas (for example, God, identity, substance, and so forth). The main thrust of Locke’s argument lies in pointing out that none of the mental content alleged to be innate is universally shared by all humans. He notes that children and the mentally disabled, for example, do not have in their minds an allegedly innate complex thought like “equals taken from equals leave equals”. He also uses evidence from travel literature to point out that many non-Europeans deny what were taken to be innate moral maxims and that some groups even lack the idea of a God. Locke takes the fact that not all humans have these ideas as evidence that they were not implanted by God in humans minds, and that they are therefore acquired rather than innate.
The work of Thomas Hobbes made theories based upon a state of nature popular in 17th-century England , even as most of those who employed such arguments were deeply troubled by his absolutist conclusions. Locke's state of nature can be seen in light of this tradition. There is not and never has been any divinely ordained monarch over the entire world, Locke argues. However, the fact that the natural state of humanity is without an institutionalized government does not mean it is lawless. Human beings are still subject to the laws of God and nature. In contrast to Hobbes, who posited the state of nature as a hypothetical possibility, Locke takes great pains to show that such a state did indeed exist. Actually, it still exists in the area of international relations where there is not and is never likely to be any legitimate overarching government (., one directly chosen by all the people subject to it). Whereas Hobbes stresses the disadvantages of the state of nature, Locke points to its good points. It is free, if full of continual dangers (2nd Tr., § 123). Finally, the proper alternative to the natural state is not political dictatorship/tyranny but democratically elected government and the effective protection of basic human rights to life, liberty, and property under the rule of law.