Yes, but cellular data will not work. You can use Wi-Fi only.
It is best practice to verify why an account was locked before unlocking it. Check your SSSD or Kerberos logs to ensure the lockout wasn't part of a legitimate security threat. Managing Lockout Policies ipa user-unlock