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)
Other mistake: When Deanna's mother arrives on the Enterprise, the sound of the transporter activating is heard. But the transporter technician is seen behind Picard and Deanna, and he remains standing by the wall with his arms behind his back. (00:09:00)
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.