Many times it happens, that someone steals your password and change it and you keep trying to login with your old password, and as a result your account gets locked. I have expereinced this many times too. But now Google has recommended few security measures that you can take to avoid your passwords from being stolen. Check them out.
Safety measures for YOUR online email account.