I can't turn off screen lock

I started enabling lock screen for some time now but now I want it disabled , but i can't. The moment I go to Settings → Device→Lock screen and it asks a confirmation password, of course I input my current password there but it always say " Invalid password, try again" or "sorry, try again." even though the password I entered is correct. Help me please