You must first tell Xiaomi’s servers that your specific device is requested for unlocking. Open on your Redmi 5. Tap on About Phone .
Install drivers, then Mi Unlock Tool (run as Admin).