As a nation state/principality/tyrannical leader violates the boundaries of another and enters a State of War, an assumption of power is derived. The power of holding the right to life is that of which I speak. According to Grotius (430) war derives an alleged right of slavery and a right to kill the vanquished, the latter repurchasing their lives through their liberty. Rousseau believes that the right to enslave is not a derivative of killing, so logic cannot be cyclical. Once an enemy lays down his arms he is no longer a combatant (431) To Locke the State of War grants rights through the State of Nature in self preservation and this like Rousseau ends once the state of war has concluded.
Rousseau does not seem as if he is trying to argue Locke's point, it seems as if it is a rational development in thought that expounds on Locke's thinking and expands his ideals. Rousseau has a logical conclusion to the functions of society. Slavery is unjust and he is refuting it as a good function with his conclusion of slavery and right are contradictory, which they are whereas Locke skirts the point.
