Data's Day - S4-E11
Revealing mistake: When Data and Dr. Crusher are tap dancing on the holodeck, whenever the camera angle changes to a wide shot from above (for the more complex dance moves), it's clear it is not Brent Spiner but a stand-in dancing.
Devil's Due - S4-E13
Continuity mistake: In Picard's quarters, Ardra appears as Troi. After reappearing as herself, she puts her hands on her hips. After the angle change, she repeats the motion.
Continuity mistake: In Dixon Hill's outer office, Gloria's right arm goes from being up to by her side and back between camera cuts.
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.
Continuity mistake: When Riker approaches his "son" he raises his right hand to calm him. When the camera angle changes he is suddenly raising his left hand.
Data's Day - S4-E11
Revealing mistake: When Data asks the replicator for Feline supplement 74 and gives then gives it to Spot, a bug is crawling on the food. Replicators cannot create living organisms. (00:13:15)
Nth Degree - S4-E19
Continuity mistake: When Barclay enters the Holodeck to create an interface, he calls for a chair, an input for the left and a display for the right. When Picard comes to question him, the input and display units are gone.
Visible crew/equipment: In the scene in the cavern where Wesley fires his phaser to heat the rocks to keep him and Picard warm, Wesley's shadow is in the wrong place. The camera is in almost a direct line of sight between where the rocks are (which are supposed to be providing the light source) and Wesley with the cavern wall behind him. After Wesley fires his phaser and the room illuminates, his shadow should be either directly behind him or to the left of him, but his shadow appears to the right side of him. The only way his shadow would be there was if the light source was off camera a good distance to the left.
Nth Degree - S4-E19
Other mistake: After Data reports the bypass blocked, Riker goes to call to Barclay. The chirp preceding the computer, now Barclay's, response occurs almost simultaneously with the call, rather than a second or two gap between the call and chirp.
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.