Locke is a town in Cayuga County, New York, United States. The population was 1,951 at the 2010 census. The town was named after John Locke, an English philosopher, and is the birthplace of Millard Fillmore, 13th President of the United States.
Locke is on the south border of Cayuga County and is southeast of Auburn.
Locke was in the Central New York Military Tract, used to pay soldiers of the American Revolution. The first settlers arrived in 1790. They found evidence of earlier Native American occupants in the form of ruined villages and burial grounds.
The town of Locke was formed in 1802 from the town of Genoa, then known as "Milton". Part of Locke was used in 1817 to form the town of Groton (now in Tompkins County). Another division of Locke in 1831 formed the town of Summerhill.
A devastating fire in 1912 destroyed about thirty buildings in Locke village.
A second devastating fire occurred on April 10, 1975, destroying eleven buildings and causing approximately $650,000 in damage. The fire was a result of a gasoline tanker losing its brakes while descending State Route 90 and crashing into the bank at the intersection of State Route 90 and State Route 38.