Hi Arjun,
Did you keep any option like no of failed attempts for database lock.
If that option enabled in the database, if you have old password or wrong password in your data store while executing the job it will lock if log in failed attempts exceeding the limits .
Please check these settings .
Thanks & Regards,
Ramana.