If you don't want to fiddle with these registry settings manually (it
can be a little cumbersome), have a look at this:
http://home.no.net/helgeww/temp/Keymapper.exe
It is simply a small VB program that lets you choose which keys to
disable or remap in a user friendly and intuitive way, and then
creates the corresponding registry settings for you.
Save your work before you try. The program uses some fancy subclassing
to read the keyboard scan codes. If the application should crash or be
terminated at an unfortunate moment, your keyboard will stop
responding until you reboot.