Remove Lock Setting TWRP Installed
boot into TWRP / you can do so via ADB too but ONLY if you've connected your phone to your PC beforehand
and also accepted it's fingerprint on the phone itself.
Delete (or rename) the following files inside /data/system
(note that probably not all of them exist for you,
simply delete those you can find)
password.key
pattern.keyl
ocksettings.db-wal
locksettings.db-shm
locksettings.db
RebootÂ