Failed -remote 39-flashing Lock Flag Is Locked. Please Unlock It First 39-- 2021

The error occurs when you attempt to flash firmware or partitions to an Android device while its bootloader is still in a "locked" state. Simply enabling "OEM Unlocking" in your phone's settings is not enough; you must also execute the specific unlock command through Fastboot. Step 1: Preparation (In Android)

Let me know, and I’ll give you the correct solution for your exact case. The error occurs when you attempt to flash