Which version of Windows are you using? According to Microsoft, the Windows 2000 keyboard driver may or may not handle toggling NUM LOCK, CAPS LOCK, and SCROLL LOCK correctly. This can cause the keyboard status to be incorrect or cause the keyboard to freeze.
To fix this problem, install Service Pack 2 for Windows 2000.
If you are not using W2K, maybe reinstalling your keyboard might help anyway?