Lockport is a city in Niagara County, New York, United States. It is located on the Erie Canal, between the cities of Buffalo to the west and Rochester to the east. Lockport has a population of approximately 20,600 people. The city is known for its historical significance, as it played a vital role in the construction of the Erie Canal in the 19th century. Lockport is also home to many attractions, including the Lockport Locks and Erie Canal Cruises, Lockport Caves and Underground Boat Ride, and the Niagara County History Center.