Connect the phone to the PC. Open a command prompt or terminal window in the folder where ADB is installed.
Flash custom ROM, GApps (if needed), Magisk (for root), and firmware patches: docomo unlock bootloader install
After inserting a Docomo SIM and toggling OEM Unlocking, use: Connect the phone to the PC