Lockport is both a city and the town that surrounds it in Niagara County, New York, United States. The city is the Niagara county seat, with a population of 21,165 according to 2010 census figures, and an estimated population of 20,305 as of 2019.
Its name derives from a set of Erie Canal locks within the city that were built to allow canal barges to traverse the 60-foot natural drop of the Niagara Escarpment. It is part of the Buffalo–Niagara Falls Metropolitan Statistical Area.