Encounter at Farpoint (1) - S1-E1
Visible crew/equipment: On the very beginning of the second shot of the episode (the shot in engineering showing Picard walking around), the camera seems to shake or wobble. It's pretty obvious that the camera must have hit a part of the set or was bumped by a crew member. (00:02:45)
Encounter at Farpoint (1) - S1-E1
Visible crew/equipment: As Zorn leans over his desk after Riker leaves, the studio light is reflected on the monitor screen to his left.
Visible crew/equipment: In Wesley's quarters, when the camera looks at Geordi, there appears to either be a person reflected on Wesley's device or a boom mic shadow plays across it.
Where No One Has Gone Before - S1-E6
Visible crew/equipment: Near the start, just as Riker says "You have all the time you need.", the engine consultant stops and turns around. As he does so, look above his head and you can see a microphone hanging down. The camera quickly adjusts so it's not visible any more. [Not visible in the remastered Blu-ray version]. (00:06:00)
Hide and Q - S1-E10
Visible crew/equipment: When Riker, Dr. Crusher, and La Forge enter the area where the injured colonists are located, the mic is visible for a few seconds at top left of the shot.
Visible crew/equipment: When Riker tells Yar to open a channel to the Jarada, you can see the reflection of a boom mic in the workstation along the back wall behind him.
Visible crew/equipment: When Will is wearing the (unforgettable) indigenous apparel for his meeting with Beata, the moving boom mic casts a shadow on the wall on the right side of the screen. (00:16:25)
Visible crew/equipment: When Riker goes to meet Beata, they sit on the bed together drinking something. As Beata puts her glass down, a hand in the lower right-hand corner reaches for it and removes it for her.
Visible crew/equipment: When Yar and Worf prepare to cut through the wall beneath the capital city, you can see the flash-powder cord before they shoot and the phaser beams get F/X'd in.
When The Bough Breaks - S1-E17
Visible crew/equipment: After finishing his talk with Harry, Riker continues to walk into the Turbolift. A leg from a light stand can be seen in the lower right hand corner as Riker walks into the lift. [Not visible in the remastered Blu-ray version]. (00:00:45)
When The Bough Breaks - S1-E17
Visible crew/equipment: When Data and Geordi come up to address Picard, there are two lines of tape on the floor for positions.
Visible crew/equipment: When Lt. Chang tells the candidates, "It's unfair that only one candidate from Relva will attend the Academy this year," there are two tape marks visible on the floor between Chang and Mordock. (00:49:00)
Visible crew/equipment: When Worf addresses Klingon captain K'Nera, a microphone dips into the shot over Worf's head. (00:33:10)
Visible crew/equipment: Two white lights reflect off Armus' pool when Picard walks up to it. Since the planet is devoid of all other life, this can only be a reflection of stage lights.
Visible crew/equipment: As Picard walks past the display of the ship the lighting rigs, camera and sound equipment are reflected in the panels.
Visible crew/equipment: In the opening scene, just before Picard comes out of his room, you can see the shadow of the boom microphone.
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.