FP5 bricked or not?

Hi !
Having recently received my FP5, I’ve been playing around with it a bit and, above all, I wanted to transfer my data from my old phone.
To do this I use Neo Backup.
It needs root rights to work properly. So I followed the official procedure for unlocking the bootloader, then the instructions in the following post to install Magisk.
Out of ignorance of the risks, I wanted to relock the boot. When I rebooted, I got a warning message saying that the system had been altered and that it would not boot again.
Since then it has been stuck on the bootloader.
I did try to re-unlock the boot with the commands

fastboot flashing unlock
fastboot flashing unlock_critical

But every time I get the message :

FAILED (remote: ‘Flashing Unlock is not allowed’)

Do you have a solution?
Thanks in advance

Are you sure it is locked, because thats not possible when rooted? And for sure then you cant unlock as it is unlocked? Or did you remove root before relocking?

Hi Yvmuell,
Yes, i’m sure it’s locked :

$ fastboot oem device-info
(bootloader) Verity mode: true
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: true
OKAY [  0.001s]
Finished. Total time: 0.001s

And it’s unlockable :

$ fastboot flashing unlock
FAILED (remote: 'Flashing Unlock is not allowed')
fastboot: error: Command failed

My mistake was this, i don’t remove root before relocking :sob: