Unbrick Realme GT Neo 2

Wait 5 sec.

So I bought a new phone and wanted to give this one to my dad, but since it had the bootloader unlocked, was rooted, etc, It wouldn't really be useful for him.So basically I ain't sure what exactly I did but I guess I re-locked the bootloader before properly resetting the phone, so now It's bootlooping, it`s not getting detected by fastboot or adb and when I press volume down to go into fastboot it instantly crashes and reboots, any help is appreciated.