to make someone feel very surprised and upset, and unable to believe what has happened:
The hatred in her voice shocked him.
shock somebody to hear/learn/discover etc that
They had been shocked to hear that the hospital was closing down.
It shocked me to think how close we had come to being killed.
2 [intransitive and transitive]
to make someone feel very offended, by talking or behaving in an immoral or socially unacceptable way:
He seems to enjoy shocking people.
Just ignore the bad language - they only do it to shock.