Who believed that the best form of government was a contract, or agreement, between the ruler and the people?

1) Napoleon Bonaparte
2) Martin Luther
3) John Locke