Ok, then you should be able to unlock bootloader by patching the nvme:
Once you are in testpoint special fastboot, you need to flash trwp. If your phone is a P10, the image for that is located inside the package on the original post. Just to make sure, flash it in 2 partitions :
fastboot flash...