The dongle with most of Logitech's Bluetooth keyboards will work in a basic legacy mode, allowing you to use it in BIOS (to setup a motherboard).
It'll work in legacy mode, providing that the keyboard is paired with the dongle and not with the Windows software stack (if that makes sense).