The setting for replying with a message when phone is locked is where when you get a call, you can select to reply with a message - such as the defaults "I'll call you later," "I'm on my way," "What's up?." - not related to replying to a text message without unlocking your device.