If the device is "locked" rather than "bricked," you may need to bypass Factory Reset Protection (FRP). Tools like the Nokia HMD Tool or TFM Tool Pro can help reset the user data and bypass Google account locks.
Unbricking involves rewriting the device's partitions using a PC. If your phone is stuck or won't boot, follow these general steps: : ROM Nokia 3.4 [DRS] (TA-1283-1285-1288) Unbrick...
Wait for the "Success" message before disconnecting the device. If the device is "locked" rather than "bricked,"
or QPST : Standard for Snapdragon devices. ROM Nokia 3.4 [DRS] (TA-1283-1285-1288) Unbrick...