1. Enable developer options by clicking several times the build number

2. Enable 'USB DEBUGGING' on the device and connect it to the usb cable

3. Type 'adb devices' on the command prompt and note down the serial shown for your phone . Is the serial you need for unlocking it !