Conspiracy - S1-E25
Continuity mistake: Lt. Commander Remmick has three solid pips on his uniform when Admiral Quinn is beamed to the Enterprise, implying his rank to be Commander rather than Lt. Commander. In all other shots in the episode, his rank is displayed as Lt. Commander. (00:25:11)
Conspiracy - S1-E25
Continuity mistake: In the beginning of this episode, Riker orders Geordi (who was navigator at the time) to increase to Warp 6. In response, Geordi replies, "Aye sir, full impulse."
Conspiracy - S1-E25
Revealing mistake: As Riker swings on Quinn, and a moment later, tossed onto a glass table, both times it can be seen that it's Riker's stunt double.
Conspiracy - S1-E25
Continuity mistake: As the ship enters Sector 63, there's a shot of the Conn and Ops positions and the screen. Geordi is in the right chair, the left is empty. Data is nowhere on the bridge, but when as Picard walks forward, Data's arm is suddenly in position.
Conspiracy - S1-E25
Revealing mistake: After the fight with Riker, Quinn throws Worf through the room, hitting a wall. The replicator part of the wall moves.
Conspiracy - S1-E25
Other mistake: When Riker is knocked into the glass table, he should have been bleeding from the impact, but when the close up shows him unconscious, he is not.
Conspiracy - S1-E25
Continuity mistake: After leaving the table in headquarters, Picard meets Riker at the door. In the far shots, Picard has his back to the table. In the close up, his left shoulder is towards the table.
Answer: Yes. The doors to the holodecks can be locked when in use by anyone aboard the Enterprise so they couldn't be disturbed. However, high ranking officers like Captain Picard could override the doors as it's seen that overrides are in use even for the crews quarters. Even Barclay, when he's indulging in one of his fantasies could have the doors to the holodeck unlocked by an override code.