Scammers are sending the "Your apple ID has been locked" phishing text message with a link to a phishing website. The phishing website steals account credentials, personal and financial information. Therefore, recipients of the fake and phishing Apple text message are asked to delete and should never attempt to click the link in it.
If you have already been tricked by the "Apple ID" scam text message, please change your password and contact your bank for help if you have disclosed financial information on the phishing website you were taken to.