Remap Caps Lock to AltGr / Alt+Ctrl on Windows?

since all solutions I found were not working anymore (at least for me) on a current Win 10, this is what finally helped me (with a German keyboard):

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,38,e0,3a,00,00,00,00,00

the original tool that produced this key entry for me was this one: https://unclassified.software/de/apps/remapkeyboard (i am not affiliated)

drawback of that software is that it requires admin rights for execution, so the registry key should be enough.