Question: my phone doesn't ring when locked?
Answer: Most of the time, the reason an iPhone isn't ringing for incoming calls is that the user has accidentally turned on the Do Not Disturb feature in Settings. Do Not Disturb silences calls, alerts, and notifications on your iPhone.