When a government breaches simple "laws of nature" and also doesn't allow the further pursuit of property, it is right for the people to rebel against the unjust government within that society.
Locke expresses his belief that people in the State of Nature are all equal. No one person in this state has power over another. Essentially, people are free to do what they please within the state of nature. However, this does not mean that one can abuse another's rights. The state of nature is governed by the law of nature. His state of nature is based on complete and equal justice. Any evil that one man does is equally punishable to others in the state of nature. When a man slights another man, he breaks the mutual trust he had. Therefore, as executives in the state of nature, all other men have the power to execute the law of nature onto others. Since the state of nature is one of complete equality, punishment for the crime is dealt in the "eye for an eye" type manner. The state of nature is Locke's basis for rebellion against tyranny. A tyrant holds all the power and is his own judge according to Locke. He can do what he pleases with his subjects and not suffer any repercussions because his actions. .
John Locke extends the role of the state of nature into the idea of property. According to Locke, all unlabored land and resources belong to all equally. However, every individual can acquire property through their own attainment. Locke explained that communal things in nature become property as soon as labor is invested in them. When labor is invested, the item is no longer in the state of nature and becomes the individual's property. However, an individual can only take as much as they need from the "communal" resources. Any more than what they can use would be a violation of their own personal attainment and to the state of nature. But rather than the extra communal resources going to waste, they can be used by trading with others.