Wireless keyboard and mouse may lag, disconnect, or not function while connected to USB port on a docking station.
This may be caused by the radio frequency interference to wireless devices operating in the 2.4 GHz ISM band. To eliminate the problem you can use a USB extension cable to connect in between the receiver and dock instead of plugging in USB wireless receiver directly to the USB port on the dock. Many wireless mouse vendors such as Logitech would include a USB extender cable in the product package to eliminate the interference.

Additional Information:
Intel: USB 3.0* Radio Frequency Interference on 2.4 GHz Devices