![Star Trek: The Next Generation mistake picture](/images/screenshots/178000-178999/178766_sm.jpg)
Visible crew/equipment: During Data's second dream experience he imagines becoming a bird and flies through the Enterprise and beyond. As he flies past his father Soong standing at the anvil, a crew member is sitting on the floor by the double doors behind him. This has been edited out in some versions. (00:36: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.