Question: why does my iphone not make a sound when locked?
Answer: Launch the Settings app on your iPhone or iPad. Tap on Sounds. Scroll all the way to the bottom and make sure both Lock Sounds and Keyboard Clicks are turned to On. You can even toggle them off and on again just to make sure.