Or just some. Or whatever you want. This KeyBlock assistant applet turns off the right mouse button. Useful for added security when you need it. Free for KeyBlock licensees and for non-commercial use.
Source code is included.
The applet isn't much good by itself but can be very powerful if you include the source code in your program. Ctrl-Esc pops up the start menu. You probably don't want them doing that. This is completely a program issue and it depends on the instructions you give the user and the expectations of the program. Just make sure Num Lock defaults to the desired setting in your BIOS, or have the application force it at start time.