The writings and ideas of John Locke stand as some of the most brilliant in English history. They are marked by, among other things, their variety.
One aspect of Locke's thought is political; he is famous for his significant influence on the Founding Fathers and their creation of the United States Constitution. A different side of Locke is seen in his purely philosophical essays, in which he ponders questions of human consciousness, perception, and knowledge; his formulations of empiricism and the process by which the mind turns sensations into ideas remain influential to this day.
These two facets of Locke are connected by a third and a fourth.
One connection is the legal implication of Locke's empiricism; if each human being is indeed born as a "blank slate", then the legal defense - used by, e.g., a kleptomaniac caught stealing - of "I was born that way" is illegitimate. Locke denies the existence of innate ideas.
A second connection between Locke's politics and his purely philosophical ideas is the implication of religious belief. Locke took great pains to show that the majority (not all) of humans arrive at their religious beliefs rationally, and that, therefore, we can also rely on the majority to vote on laws that are, on average, good laws. Locke said that, because religious beliefs are most central and essential to human thought, then their rationality ensures the rationality of other human thought. He also pointed out that those occasional instances of irrational religious belief are usually due to a lack of information or a lack of study, and can be corrected by exercise of the rational faculties of the mind upon substantial bodies of fact.