Joseph I believe that Locke was indeed an influential "voice" in the writing of the declaration. Many of the statesman involved in writing and signing the declaration were freemasons, and as such were students of culture, writing, and philosophy. Both documents speak to the inherent freedom of man being the natural state rather then following "church doctrine." While I find that there are some notable morale elements in how to treat our fellow man, I do not see any of the power and control elements of organized religion. 