I just received a message from an unsaved number on my iPhone while the screen was locked. It was from a friend, informing me that I should replace his older number with the one the text was from. I left the message on my iPhone in its unread state, opened his contact information in Address Book on my Mac and made the change.