Encounter at Farpoint (2) - S1-E2
Continuity mistake: When Picard tells Q in the final scene "Get off my ship." Q is standing to his right, and Picard has his head turned towards Q. But when the angle changes to show Q's response, Picard is standing facing Q directly, and without his head turned.
Encounter at Farpoint (2) - S1-E2
Continuity mistake: The computer is directing Commander Riker toward L.C. Data in holodeck area 4-J. As he walks along the corridor the computer helps him by saying that he should go to "the next hatchway on your right." Then Riker turns left (according to the way he was going) to enter the holodeck.
Encounter at Farpoint (2) - S1-E2
Continuity mistake: The "loose rock" Wesley falls from didn't move at all the way it did with Riker.
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.