Hi,
If your Apple ID has been locked or disabled due to security reasons, it is due to the incorrect password being entered too many times or the current password no longer meeting the password requirements.
Typically, when you try to sign in to the Apple ID website, you’ll receive a pop up to unlock your account, tap unlock, and then enter a new password.
If this does not apply to you, you will need to set up account recovery. That is the only way you will be able to regain access to the Apple ID.
To start the recovery process, you will go to iforgot.apple.com, enter your Apple ID email, and then confirm the trusted phone number associated to the Apple ID. You do not need to still have access to the number. You only need to confirm it.
Once confirming the number, it will attempt to send a verification code to that number.
Select the option Can’t use this number/Don’t have access to this number and you will then be prompted to enter a new phone number, followed by a verification code sent to that number.
You can complete the recovery process from here.
https://support.apple.com/en-us/HT204921
If you cannot confirm the trusted phone number, you cannot set up account recovery, and you will not be able to regain access to the Apple ID.