Sony Xperia 10 IV install problem (pdx225)

I do not have hands on experience with Sony.

It is not mentioned on the install page but does this phone have OEM Unlock in Developer options? If shown is it enabled OK?

might be found

Settings > Additional Settings > Developer Options > Search for OEM Unlock and enable

… or

Settings » System » Developer options » Search for OEM Unlock and enable

I guess one might first find out if the more recent platform-tools version makes any change to your original issue

Writing ‘vendor_boot’ FAILED (remote: 'Flashing is not allowed for partition')
fastboot: error: Command failed

A few highlights from your getvar, don’t seem negative.

(bootloader) unlocked:yes
(bootloader) partition-type:vendor_boot_b:raw
(bootloader) partition-size:vendor_boot_b: 0x6000000
(bootloader) partition-type:vendor_boot_a:raw
(bootloader) partition-size:vendor_boot_a: 0x6000000
(bootloader) secure:no
(bootloader) product:XQ-CC72

There is Sony - Xperia 10 IV - pdx225 - Documentation Suggestions, you may get some clues by study of eOSWiki > Documentation Suggestions for similar devices.