Question: why does my iphone not make a sound when i get a message?
Answer: Go to Settings > Notifications > Messages and verify that Show on Lock Screen is toggled on. For sound alerts, also check that Settings > Notifications > Messages > Sounds has an alert type selected and does not display None or Vibrate Only unless that's the setting you want.