It’s because you or someone else entered your password, security questions, or other account details incorrectly (too many times). So, your Apple ID will automatically be locked to protect your security, and you will be unable to sign in to any Apple services.