Thanks for your reply, so obligatorily I have to unlock the bootloader.
I don't want to do that I'm afraid of losing fingerprint
There is a root bypass method where you can do all that without losing FP.
It's crazy but RM5G allows you to root without having to actually unlock bootloader.
This is achieved without using the command fastboot flashing unlock which is responsible for lost FP.