My phone recently forgot what my correct pattern to unlock the lockscreen. But when I reset the lock screen to swipe, now I can't change it to anything else because it asks for a pin to change it from swipe. I only ever set a backup pin for the pattern, and it isn't accepting that pin. How can I add security to my lockscreen again?
EDIT: Galaxy S5, Android 6.0.1