Let's analyze the usage of the word "melt" in each sentence.
- "The crowd melted away after the prayer meeting."
Here, "melted away" is a phrasal verb meaning to disperse or disappear gradually. This is a correct and common figurative usage.
- "Even the sternest mother's heart melts at the sight of her baby crying."
In this context, "melts" means to become softened, tender, or filled with compassion. A "heart melting" is a standard idiom. This usage is correct.
- "His anxiety melted away when he received an SMS from his daughter confirming that she had reached her destination safely."
Similar to the first sentence, "melted away" means the anxiety gradually disappeared or dissipated. This is a correct figurative usage.
- "The cries of opposition suddenly melted to cheers when the principal agreed to the demands of the students."
This usage is inappropriate. One thing does not "melt to" another in this sense. The correct phrasing would be that the cries "turned to" cheers, "changed to" cheers, or "gave way to" cheers. The verb "melt" implies a gradual softening or disappearing, which doesn't fit the transformation from one sound (cries) to another (cheers), especially with the adverb "suddenly".
Therefore, the usage in the fourth sentence is incorrect.