The referenced account is currently locked out and may not be logged on to
Assuming that you’ve enabled the account in the Account tab of the user in AD Users and Computers, you can get The referenced account is currently locked out if you’re DNS server settings are wrong on the PC you are trying to log on to.