John Locke primarily wrote about
English Parliament’s law code
social contract and natural rights
Ancient Rome and Greece
separation of powers and direct democracy
John Locke primarily wrote about the "social contract and natural rights", since these two subjects were primary themes of the Enlightenment period, of which Locke was a part.