I’ve done similar by marking it out and filing it to shape, after first making a hacksaw or Dremel cut for the driving face of the dog. Use a piece of emery tape wrapped around the job to mark out the spiral part. Then hacksaw or Dremel the slot to full depth. Then file with a 10 inch flat file. If they are just those common locking levers etc, spiral does not have to be any kind of perfect.
Same technique used to make special counter boring tools and the like from silver steel. It’s not hard.
You could mill it but its a lot of faff, requiring a dividing head geared to the longitudinal movement of the milling table and a second set-up to mill the sharp corner at the base of the driving dog face. Not worth the hassle for such an application.