To what extent was the American Revolution inspired by the principles espoused by John Locke?

To what extent was the American Revolution inspired by the principles espoused by John Locke?