was using a common geographic classification where ‘landlocked’ means no direct shoreline on an ocean or sea. The Great Lakes are freshwater inland lakes, so states touching them are usually still considered landlocked in that context
Landlocked is typically defined as having no direct ocean or sea coastline. The Great Lakes don’t count as ocean access, so states that only touch them are still considered landlocked. New York is different because it has Atlantic coastline.