When I look it up, they have their differences in every single subject.
Human nature
Locke: Man is by nature a social animal.
Hobbes: Man is not by nature a social animal, society could not exist except by the power of the state.
The state of nature
Locke: In the state of nature men mostly kept their promises and honored their obligations, and, though insecure, it was mostly peaceful, good, and pleasant. He quotes the American frontier and Soldania as examples of people in the state of nature, where property rights and (for the most part) peace existed. Princes are in a state of nature with regard to each other. Rome and Venice were in a state of nature shortly before they were officially founded. In any place where it is socially acceptable to oneself punish wrongdoings done against you, for example on the American frontier, people are in a state of nature. Though such places and times are insecure, violent conflicts are often ended by the forcible imposition of a just peace on evil doers, and peace is normal.
Hobbes: “no society; and which is worst of all, continual fear, and danger of violent death; and the life of man, solitary, poor, nasty, brutish, and short.”
Knowledge of natural law
Locke: Humans know what is right and wrong, and are capable of knowing what is lawful and unlawful well enough to resolve conflicts. In particular, and most importantly, they are capable of telling the difference between what is theirs and what belongs to someone else. Regrettably they do not always act in accordance with this knowledge.
Hobbes: Our knowledge of objective, true answers on such questions is so feeble, so slight and imperfect as to be mostly worthless in resolving practical disputes. In a state of nature people cannot know what is theirs and what is someone else’s. Property exists solely by the will of the state, thus in a state of nature men are condemned to endless violent conflict. In practice morality is for the most part merely a command by some person or group or God, and law merely the momentary will of the ruler.
Epistemology
Locke: The gap between our ideas and words about the world, and the world itself, is large and difficult, but still, if one man calls something good, while another man calls it evil, the deed or man referred to still has real qualities of good or evil, the categories exist in the world regardless of our names for them, and if one man’s word does not correspond to another mans word, this a problem of communication, not fundamental arbitrariness in reality.
Hobbes: It is the naming, that makes it so. Sometimes Hobbes comes close to the Stalinist position that truth itself is merely the will of the ruler.
Conflict
Locke: Peace is the norm, and should be the norm. We can and should live together in peace by refraining from molesting each other’s property and persons, and for the most part we do.
Hobbes: Men cannot know good and evil, and in consequence can only live in peace together by subjection to the absolute power of a common master, and therefore there can be no peace between kings. Peace between states is merely war by other means.