The town's name has been in use for centuries and refers to the lock in the Vliet, near the historic city of Leiden.
Starting in the closing years of the 19th century, the area started to change rapidly due to combined forces of the agricultural crisis, improved transportation in the area, and regional effects of the first and second World Wars.