You probably used option "clean and lock " reflashing fastboot firmware. Now you have to unlock device again, usually not a problem. You have to give a little more information about phone, which one, Is error about phone association with your MI account? If it is you have to try associate it...