Factual error: The second piece of music played at the concert is by Brahms and not Mozart.
Continuity mistake: The lipstick on Picard changes between when he is kissed, and later when he leaves the holodeck (it's darker and on and above his lips.) Also, and more importantly, being holodeck matter, it should have disappeared after re-emerging in the real world.
Half a Life - S4-E22
Visible crew/equipment: When Lwaxana and Deanna Troi are talking in Lwaxana's quarters (near the end of the episode), note the boom microphone you can see in the mirror as Lwaxana walks away from it the first time. Shadows from the boom microphone are also seen above Lwaxana's head on the wall. (00:40:20)
Continuity mistake: When Geordi is put onto a bed in sickbay there are two pillows - when he gets up to leave a little later they have disappeared.
Visible crew/equipment: You can see the boom mic above Picards head when he is in his quarters. (00:11:30)
Continuity mistake: At the very beginning of the Episode, Picard makes a log entry stating that the Enterprise is heading for the USS Tsiolkovsky at warp seven. Subsequent outside shots of the ship show it is traveling at impulse.
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.
Audio problem: When Riker leaves Deanna and Wyatt at the holodeck you hear the door. You don't hear it a minute ago, when Wyatt enters the holodeck - he just appears. (00:27:30 - 00:28:15)
Continuity mistake: When Data brings up a picture of the original Kirk-era Enterprise in conjunction with the log talking about the water-intoxicant, the picture is of the refitted movie-style Enterprise - not the original round-nacelled model that was involved in the events of "The Naked Time."
Continuity mistake: After entering the Holodeck for the 2nd time, a vendor hands a folded piece of paper to Picard, yet Picard receives it unfolded.
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.
Yesterday's Enterprise - S3-E15
Visible crew/equipment: During the scan of the temporal rift at the beginning of the episode, the tip of the microphone briefly comes into view at the top of the screen above Captain Picard's head when Data says, "Nothing I have seen before." [Not visible in the remastered Blu-ray version].
Revealing mistake: When Data sits in his post, his neck pips are black and then gold. In the next jump scene when he is in the back of the bridge with his commanders, the pips are reversed.
Visible crew/equipment: In the opening scene when Data is portraying a character from Shakespeare's play "The Tempest" a small card can be seen attached to the back of the book he is carrying (likely containing his lines), but after increasing the amount of torch light the card is no longer there.
Continuity mistake: In the scene right before the shuttle's crew finds the Romulan ship and the Enterprise, Geordi calls the shuttle craft's cockpit to explain the temporal disturbances. Captain Picard, Troi and Data walk into the shuttle's cockpit room and Troi puts her right arm on Geordi's chair. As Geordi, Data and Captain Picard are talking you can see Troi's wrist hanging off the chair, but when the camera cuts directly in front of Geordi her whole wrist is on the chair. The camera then cuts back and you can see that Troi's wrist is still hanging off the chair.
Continuity mistake: The creators re-did the titles from the third season on, but only from before the shot of the ringed planet, and they didn't make sure they matched. Compare the movement of the stars inside the rings and the star field outside the rings - they move in different directions compared to each other.
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.
Continuity mistake: While Troi and Yar are talking while holding hands in Troi's quarters, there is a piece of cloth between their hands in one camera angle, but in another camera angle, there is nothing between their hands.
Continuity mistake: Several episodes have stardates after this episode, but still have Tasha Yar in them (even though she dies in this episode). They aired before this episode. The series producers later formalized their stardate system so that they take place in the order the episodes air.
Visible crew/equipment: After the encounter with Borg in main engineering, when it cuts to the observation lounge with Guinan participating in the conference, at the start of the first shot you can see the shadow from the camera and crew person as it moves, at the bottom of the screen. (00:24:10)
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.