What is a “locked” post?
When any interesting Question or Post is Locked, one can't vote for it.
But one can vote for It's answers.
Then user gets following notification.
Trying to up-vote question there will be ...
That's based on lock.