if you want a script that makes the capslock key do nothing in maya, go to 'Mmmm Tools' (just google it, it should be the first thing to pop up) it's actually a whole package of little cool things for maya, it's made by one of my teachers, and it's worth checking out, it's free too.