To highlight locked cells:
Click Data > Lock > Highlight Locks or go to the View Settings in the side panel > Highlight Locks.
The cells that have been locked for all collaborators will be highlighted and visible now.
To remove the cell/range highlights, disable Highlight Locks by following the same steps mentioned above.
You can view the Manage Lock Settings dialog box by clicking the lock icon present in the range.