Reset my android device password using android device manager
Resetting pattern / password using ADM is possible for devices running 4.4 or lower only . Also see this on Google forums

Your way out is to reset your device after logging out of the Google account to prevent factory reset protection issues or keep guessing the password till you get it right