The modifier or modifying phrase in the sentence is "Only." It modifies the subject of the sentence, indicating that only a specific group of people or individuals were left in the store when the doors locked. Therefore, the correct answer is:
C. Only