Can log in to OS X account but can't unlock after locking
You should be able to reset it using one of the following methods.

Method 1:
 > system preference > users &amp; groups

if the check box beside "allow user to reset password using Apple ID is checked, you should be able to reset it using you apple id and password (make sure you're connected to the internet)

Method 2:
else you can boot into the recovery partition by holding CMD &amp; R, then on the top menu you should be able to navigate and find an option that says "reset password", the down side is you lose all you keychain items (your WIFI passwords, safari saved passwords, etc)