When do you get error : "userid, password or account is invalid" and when do you error "User id is locked" while loggin in to Teradata.
I think the first one is referring to invalid username or password input by the user while later is referring that account has locked and needs to be unlocked.
I tied to logon to TD after my id was locked due to wrong passwords for 3 times. Still i get 'userid, password or account is invalid' and not "User id is locked"
If your UserID is unlocked and you are still getting 'userid, password or account is invalid', this means you are not logging in with your correct credentials. Reconfirm from DBA that the userid and password you are using are correct!