Lumens is the total light emitted from a source.
Lux is the intensity per area of light striking a surface.
So if you had a spotlight and a floodlight with the same lumen rating, then measured the lux on one square meter of a surface directly in the center of the beam, 50 feet away, the spotlight would be putting out a higher lux than the floodlight on that surface.