The answer is: Hobbes believed life without government was difficult, while Locke believed people have the right to rebel.
Hobbes believe that the government should exist as a regulator because without it people could commit wrongdoings to other people without fearing any repercussion.
Locke on the other hand believe that government had the power to restrict's people freedom by creating laws that intervene with people's life. Which is why he believed people have the right to rebel.