Aren't those banking apps usually simply check whether root is available on the device and bail if they found it? You might be able to circumvent it using magisk to hide root, or simply don't install root support when installing lineageos (that's what I do as I don't need root anymore these days, and I haven't found any app that complains about insecure rom yet, Safetynet status is also passed).