Login failed for user ‘sa’ because the account is currently locked out. The system administrator can unlock it.
SQL Account only locked out, if it is enfoced to use password policies.
You can unlock it by exeuction below command.
ALTER LOGIN sa WITH PASSWORD = ‘password’ UNLOCK
You can do it GUI as well by unchecked locked checkbox