  Direct Unlock:   
1. Phone must be powered on.
2. Type *#0808# and select "DM+MODEM+ADB".
3. Type *#9090# and choose "DM/DUN over HSIC".
4. Reboot phone.
   Or use "Activate Diag" function from "Repair" tab.
5. Connect USB cable, install drivers if needed.
6. Select Samsung diagnostic port in port settings.
7. Press "Unlock" button.
  
  Domestic Unlock:
1. Power on the phone.
2. Enable "USB debugging" in "Settings"-"Developer options",
   tap 7 times on "Build number" in "Settings"-"About phone" to enable "Developer options".
3. Connect the phone to PC with USB cable, install drivers if needed.
5. Select device in ADB settings.
6. Press "Unlock Domestic" button.