Leonardo Keyboard cann't use in BIOS !

I have DIYed a full keyboard with Leonardo board, it works well in windows, but can't work in BIOS mode. How to deal with it?

And Leonardo keyboard can't synchronize the status of CapsLock and other status such as num lock.

Thanks.

Does your BIOS work with a commercial USB keyboard?