That’s a different error (anti-rollback or wrong ROM region). Your flash-all-lock.bat issue is solved, but the ROM is incompatible with your device model.
Use Xiaomi Mi Flash Tool Unlocked Edition or XiaoMiTool V2 by Francesco Tescari – these handle script name mismatches automatically. mi flash error cannot find file flash-all-lock.bat
No. Mi Flash Tool stops at file validation. You cannot bypass it without one of the solutions above. That’s a different error (anti-rollback or wrong ROM
Place the ROM in a short path like C:\ROM\ . it cannot execute them.
Xiaomi Fastboot ROMs are often compressed twice. Users often extract the outer compressed layer but fail to extract the inner payload, leaving the necessary files compressed in a sub-archive. If the tool cannot see the files, it cannot execute them.