Don't know if it will work with a USB numpad, but there's a freeware program called Sharpkeys that I use on my laptop to make the Capslock key into a Windows key. It might do what you're looking for.
If there’s no Numpad and you are stuck while typing numbers, try the ways mentioned below to emulate Numpad on a Keyboard in Windows 11/10: One of the well-known ways to access Numpad in Windows is ...