What keyboard is it and did it come with any software? If not you may need to look into your power management settings for the pc.
Or you could try a utility like this:
http://www.bytegems.com/ihatethiskey.shtml
that helps disable the keys via software.