Had same problem go to quick settings and press lock screen hope this helps it did for meTry going into setting>>security>>phone administrators. Uncheck anything that's checked.
Then go back into settings>>security scroll down and tap on Clear Credentials.
I had a similar problem where I couldn't turn off the fingerprint scanner and this sequence fixed it. Hopefully, it'll work for you.