We still execute people in the United States. Lynching is execution through extra-legal means.
(Actually in California, it’s defined as the involuntary removal of a person from police custody under the color of riot, IIRC from a friend who was on a jury where one of the charges was lynching.)