Other mistake: As the camera looks at the Enterprise as a transitional view, part of the decal for the registry number is visible.
Other mistake: When the ship is at max warp and Geordi states that at maximum warp the ship can only sustain two hours of emergency life support, Data, Troi and Worf are on the holodeck attempting to stop the train, but back in the bridge before they do you can see the view screen in the background and the bridge glass dome above Geordi, Picard and Riker that the ship is not moving at warp speed and is at standstill.
Other mistake: When Picard walks into the brig to talk to Q, something falls in the doorway and Picard almost kicks it with his foot. The door then closes on the item that fell. (00:11:20)
Other mistake: As Troi describes her idea of "real" chocolate to the computer, it interrupts her with a warning about the nutritional value of her request. The reply is in two parts, and between the parts, you hear the intake of breath, something no computer would do.
Other mistake: While Riker looks over Data's shoulder, the make up on Data's eyebrows is incomplete. The left is lighter, the right is darker.
Other mistake: In this episode, in Riker's memory, the encounter between him and Quinn is re-lived. As Quinn starts to attack Riker, you can see Riker's stunt double's face, and tell that it's Quinn's stunt double, as the hair is smooth, not styled. Also, Riker is a few inches taller than Quinn, but in the onset of the attack, they're equal heights.
Other mistake: As Guinan sits at the desk, she reaches toward, but doesn't touch, the control for the screen, but it activates.
Other mistake: As Crusher enters the police station, Data says "Hiya, Doc. What's cookin?" He's supposed to be incapable of using contractions.
Other mistake: As the Enterprise comes into the frame approaching the cloud, the registry numbers are reversed.
Where No One Has Gone Before - S1-E6
Other mistake: As the Enterprise comes out of warp in galaxy M33, the conference lounge is visible and is a re-use of the opening sequence. The movements of the people is identical.
Other mistake: After the signal change to a continuous output, the Crystalline Entity vibrates. As it does, look at the background stars. They also vibrate in time with the Entity, although the signal is focused on Entity alone.
The Best of Both Worlds (1) - S3-E26
Other mistake: When O'Brien activates the transporter, only the very bottom indicator lights come on, even as he moves his hand up. Usually the indicator lights match the movement of the hand.
Remember Me - S4-E5
Other mistake: Toward the end, Beverly gets in the turbo lift to go to Engineering. As it starts, you see the lights to her left strobe top down. This is to indicate movement. However, since the lift was at the bridge level, the lights should have gone from bottom up, showing that the lift is going down.
Other mistake: When Ro Laren enters the Jeffries tube, she makes a sudden shift to her right (our left) as she begins crawling; she was trying to avoid the camera.
Yesterday's Enterprise - S3-E15
Other mistake: The Klingons ordering the Enterprise to prepare for boarding parties doesn't make sense. La Forge had announced only moments earlier that the Enterprise was on the verge of a warp core breach. The Klingons' ship's sensors should have been able to detect the Enterprise's impending destruction.
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.
Encounter at Farpoint (1) - S1-E1
Other mistake: As the Enterprise starts to turn to starboard (right) to escape the energy field Q set up, as the field is moving to port (left, indicating the ship is turning right) the starfield is also moving right, when it should be moving left.
The Battle - S1-E9
Other mistake: When Capt. Picard gets beamed from The Stargazer back to The Enterprise at the end of the episode, he doesn't lower shields. Also, a Ferengi (DaiMan Bok) beams off the Stargazer onto his Ferengi ship earlier without lowering shields on the Stargazer. (00:35:45 - 00:44:20)
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.