did you toggled on the Usb debugging from Deceloper Options?
when you have done that Boot to fastboot mode on your device and try.
and pay attention to download latest mi unlock from official site.
if none of these help then try to download latest usb drivers
use "universal Android usb drivers"