Answer: Hobbes is older than Locke. Hobbes lives in the times of Civil war (Stuart Catholic kings striving for absolute monarchy against parliament) defending absolute monarchy. He views people as dangerous animals, to him human nature is destructive and self-destructive. Locke is younger (+1704), he is considered a part of Enlightenment and inspirator of American Enlightenment. To him, human nature is naturally good and rational.
Explanation: the main difference is that Locke puts (that is typical of Enlightenment) emphasis on human rationality. This one-sidedness is typical for Enlightenment not only in England and France but also in America. This intoxication by reason will be corrected by atrocities during the French revolution and, later, during Romanticism.