I tried, the only thing possible to mess with the phone now is the settings app, whether or not I set a new screen lock, twrp is unable to decrypt the data.
I have attached the logcat of the errors I have, but I think I will have to format all the data.
@Igor Eisberg @ingbrzy I already have a screen lock, when I try to enter screen lock modes (PIN, pattern or password) the Settings app closes
How to reproduce: Settings > Passwords & security > Screen lock > In my case I draw the pattern.
Device: Mi 10T
Rom version: (21.6.23)