Like others mentioned, make sure it’s a wired keyboard. Even something like a Logitech keyboard using its USB adapter might not work.
If you’re comfortable with using the Terminal in macOS and in macOS RECOVERY. You can set the bootloader to show up automatically. By stopping the auto bootup
[nvram manufacturing-enter-picker=true]
macOS recovery does not require sudo, but regular boot into macOS does. This is only cleared by you running the command again but with false instead of true. Or clearing the nvram back to default.
Be aware however that macOS and Window installs do multiple reboots when they’re being installed. This command while still set to true will ALWAYS. Stop the auto boot and you will have to select the correct install boot entry to continue.