I've always just manually disabled the shortcut from control panel.
I guess there is a way to do it programmically using some Windows specific code, but that can't be done with JavaScript in a browser.
It could possibly be done from an addon for a nwjs, but that doesn't seem like a very simple thing to do.