I am a very satisfied user of K810 keyboard, but I have noticed that it can disconnect from a bluetooth dongle when I am in the game or watching a movie.
To prevent this behaviours here’s what you need to do:
Open Device Manager | Bluetooth | Bluetooth Module | Generic Bluetooth Radio | Power Management
Deselect the “Allow the computer to turn off this device to save power” checkbox.