I turned off screen lock and removed PIN code. The data isn't encrypted any more.
But now when I try to flash Magisk-v20.4.zip in TWRP, nothing changes. After reboot I don't have root.
Edit:
I also noticed that in TWRP report it says:
Failed to unmount '/system_root' (Device or resource busy)