See this document If your Apple ID is locked or disabled https://support.apple.com/en-us/HT204106 "If you or someone else enters your password, security questions, or other account information incorrectly too many times, your Apple ID automatically locks to protect your security and you can't sign in to any Apple services.”
From If you can't unlock your Apple ID in the above document,
If you use security questions with your Apple ID, or if you don't have access to a trusted device or phone number, go to iforgot.apple.com. Then you can unlock your account with your existing password or reset your password. After multiple unsuccessful attempts to unlock your account, your Apple ID will remain locked and you can try again the next day.