Both the British and German cavalry had lancer units in World War 1. The German units were used in the 1918 Ludendorff Offensive, for example. British lancers were also used in the Zulu Wars in South Africa. Of course we know that the valiant Poles used lancers against panzers in 1939.
Greg Biggs