PGS Subtitles: Restore some locks that went missing during ffd5478189f7b27b0ccb7b4fff7307418ce77e98.

Some subtitles could be missing and generally some strange behaviors could occur.

Refs: #3691.