Based on your pic, you have the "Apple Keyboard" A1048 made from 2003 to 2007. Although it post-dates OS9, it is
supposed to be compatible with OS 9.0.4 forward.
I have and have used the preceding model "Apple Pro Keyboard" M7803 (with the USB ports on a top "extension" on each end). That's the acrylic that came with the MDD in black or white keys from 2000 to 2003. It has the same requirements of OS 9.0.4.
My kbd has a clear / num lock key which is actually labeled as both with an LED that will not light (though another LED on the "caps lock" does). It works in both 9.2.2 and 10.5.8 as a "clear" when using the Calculator but NOT as a "num lock" in any app I can think of. in fact, in OS 10.5.8, I get a complaint sound if it's pushed anytime other that in Calculator.
It reports that it can't find a software for a apple keyboard. After I press OK it works but no numlock
What do you mean "no numlock"? when? How?
Since the num keys (and indeed, virtually ALL num keys on Mac kbds) do NOT serve dual-functions for up, down etc. there's no reason for even having a num lock key on a Mac kbd. that's why your "clear" is labled only "clear".
As for the "can't find software for an Apple keyboard", all of the code for kbds is in the OS.
There is the "USB Device" Extension 1.5.9 which needs to be active but I'm guessing that's NOT your issue because virtually nothing USB works without it.
Is there a chance this is an error from a 3rd party extension or Control Panel / app? I only ask because we have to guess since we can't see it.
If it's a Mac OS error message, I can only guess you have something missing from the base System and unless someone here is a ResEdit genius who knows exactly what to look for, you should reinstall a new OS9 from a different source.