Lock, William, 1767-1847