In 1671 he was a major investor in the English slave-trade
through the Royal African Company, as well as through his participation in drafting the Fundamental Constitution of the Carolinas while Shaftesbury's secretary, which established a feudal aristocracy and gave a master absolute power over his slaves
For example, Martin Cohen notes that as a secretary to the Council of Trade and Plantations (1673–4) and a member of the Board of Trade (1696–1700) Locke was, in fact, "one of just half a dozen men who created and supervised both the colonies and their iniquitous systems of servitude".
Some see his statements on unenclosed property as having been intended to justify the displacement of the Native Americans. Because of his opposition to aristocracy and slavery in his major writings, he is accused of hypocrisy and racism, or of caring only for the liberty of English capitalists