A normal lock is either active or released. A "flashing" lock indicates the lock is in an inconsistent state—often because the work process holding it has terminated but the cleanup routine failed. In such cases, the lock remains visible to the system but cannot be cleared by normal means (e.g., ending a transaction).
It sounds like you're encountering a system or firmware error message — likely from a smartphone, tablet, or other device — where a or similar wording appears, and the device says to unlock it first before proceeding.
The second most common context is when you are trying to upload code to a microcontroller. The error might appear in the Arduino IDE or PlatformIO as: "Flashing lock flag is locked – please unlock it first (full storage)" .
If the plastic latch is broken or the internal wax motor has failed, the machine cannot register that the door is closed. This requires ordering a replacement door lock assembly.
It’s a theft-protection measure. If someone steals your phone, the locked flag prevents them from simply wiping it and installing a fresh OS to bypass your passwords.