Revealing mistake: In the scene where Barclay reappears on the transporter with the crewmember, they both fall to the ground. The transporter chief had put up a forcefield around the transporter chamber, in case something goes wrong. However, when the crewmember falls to the ground, his foot goes right through where the forcefield is meant to be. It is still active, as only a few seconds later we see it being deactivated.
Revealing mistake: In Amanda's quarters, when she repulses Q, as he flies toward the corner, you can tell it is his stunt double.
Revealing mistake: In the cargo bay, as Riker stands alone, through the whole scene where a case is about to hit him, you can tell it's a stuntman with a bad wig.
Revealing mistake: When the first villain hits Worf with the chair, just as Alexander is yelling "look out", you can tell it is a stunt double.
Revealing mistake: When Picard and Cmdr. Daron are in Picard's quarters together for the first time, watch Picard play his Inner Light theme. The hands playing the flute are obviously not his.
Descent (1) - S6-E26
Revealing mistake: In the hand-to-hand with the Borg soldier, Data's stunt double is easily identifiable.
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.