How to loosen this strange nut of a cylinder lock?
That is a circlip.
Just use a small flat screwdriver in the gap to prise it off - make sure you keep hold of it because it can ping away.
If you put the screwdriver in the gap at 3 o’clock and twist it will force the circlip over the diameter of the shaft.