Other mistake: During his final discussion with Tomalok, Picard tells him that the Enterprise will escort the Romulan ship back to The Neutral Zone. However, as the episode ends, the two ships are heading off in opposite directions. Both the Enterprise and Romulan warbirds have demonstrated in the past that they can spin on their axis from a standstill. There is no reason for either ship to head away from the other to turn around.
Other mistake: While down in the pit Geordi makes a couple of spikes to climb out with. When the phaser beam is melting the ore, the metal goes molten about two inches in front of the beam. Also, the spikes are rounded, like handles. The molds he made would have left a flat side.
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: 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)
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.
Other mistake: One of the physical appearances Lal considers adopting is an Andorian female with green skin. In the Trek universe, Andorians invariably have blue skin (the Aenar are a variant of the Andorian race but are depicted with bluish-white skin, still not green). And while other humanoid races have been portrayed with different skin tones, there are some races that have only one skin hue. (ie, Andorians are always blue, Orions are always green, Ferengi are always light orange.) It is highly unlikely she or Data designed it with different skin as Data wants her to fit in, and Troi makes no mention of it.
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.
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.