https://gitlab.com/interception/linux/plugins/caps2esc
Works great in Windows and Linux.
For a more general solution, I prefer https://github.com/randyrants/sharpkeys on Windows.
https://gitlab.com/interception/linux/plugins/caps2esc
Works great in Windows and Linux.