My iPhone also will not make an alert sound for a text message if it is locked.
I thought I had a setting wrong, it seems the iOS recent update has caused the text alert not to make a sound if it is locked. I will unpair my Apple Watch that is also making no sound except it will vibrate a text alert. I’ll be v
back to see if I’m successful when I unpair watch.
iPhone XR