Continuity mistake: When Picard, Ro and the others arrive at the refugee camp to meet with Keeve Falor, the type of uniform top Ro is wearing has its zipper at the back in the center - with no seam whatsoever at the front. When she kneels down in front of the young child, it has changed to the open-front jacket type, so Ro can touchingly give it to this child.
Continuity mistake: When Ro and Picard are among Ro's people and she gives her jacket to a child (saying something like 'this is what I was, once') she never removes her commbadge. However, there's a commbadge neatly placed on her grey tank top - even though she didn't even remove it from the jacket, let alone put it on her shirt.
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.