Locke is a town in Cayuga County, New York, United States. The population was 1,877 at the 2020 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 southern 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 approximately thirty buildings in Locke village.
A second devastating fire occurred on April 10, 1975,