Zachariah Lock had two daughters that married into the Stickel(s) family. Zachariah was a farmer living in Jefferson county and was buried at the Asbury Church. His tombstone shows the last name of "Locke" but he does not seem to have any known relationship to the line of John Lock (02/01/1800-1860).
John B Locke and his descendents are detailed in John Locke's Family Tree. At this time we have not found a connection to Zachariah Lock.
Many thanks to James Locke and his database Jim Lock's Genealogy Database for his research into both these family lines.