To use ADB with a device connected over USB, you must enable USB debugging in the device system settings, under Developer options.
On Android 8.0 and higher, the Developer options screen is hidden by default. To make it visible, go to Settings > About phone -> SW Information and tap Build number seven times. Return to the previous screen to find Developer options at the bottom.
On some devices, the Developer options screen might be located or named differently.
What do you need for remote unlock:
A Windows computer with an internet connection. For some unlock operation internet speed (download) might be important.
USB cable for your model, make sure is genuine and fully working, connect it to a main USB port to your computer