Ok , you have to use the 0623 or 1206 twrp firstly .. you are with an old android 10 rom and you have to use older twrp to update from A10 to A11 ..
Download and put new rom in your sd card , disable fingerprint and pin code ..
Then , you have to enter fastboot mode with command .. fastboot boot twrp.img , you will enter to 0623 or 1206 twrp .. DO NOT flash twrp at this point , only boot as i wrote ..
Flash the new rom as usual , after installation finished , new twrp will be flashed also along with the new rom ..
After that you will be able to enter twrp with buttons or by powermenu ..