The following data is extracted from Genealogy and Biography of Ontario County, New York.
(V) Frederick, son of Lieutenant Joshua Locke, was born at Westboro, June 6. 1757, and married (first) in 1793, at Charlestown, New Hampshire, Anna Farwell, who died in 1804. He married (second), July 15, 1805, Lucy Graves, of Washington, New Hampshire. He prepared for college at Leicester Academy, but instead of going to college enlisted in the American army shortly after the revolution began, anti remained in the army during most of the war. After the war was ended he is said to have often remarked that "he did not regret the decision he made, though he lost his pay and his health." He was a civil engineer and a surveyor by occupation, and lived at Acworth and Charlestown, New Hampshire. He died January 17, 1834. Children of first wife, born at Acworth: Henry, September 24, 1799; Melinda, March 9, 1804. Children of second wife, born at Charlestown: Frederick, May 9, 1807; William G., mentioned elsewhere; Catherine J., February 28, 1810; Lucy G., May 2, 1811; Ann F., March 30, 1813; Sarah F., April 6, 1815; John H., March 31, 1817; Rachel W., April 24, 1819; Mary J., June 7, 1821; Benjamin F., November 13, 1823.
Source: Genealogy and Biography of Ontario County, New York