Remember Me - S4-E5
Visible crew/equipment: When Dr. Crusher is on the Bridge all alone, right before the "universe" collapses, the boom mic is reflected in the Red Alert rectangle next to the turbolift.
Visible crew/equipment: When Riker approaches his "son" in the prison cell (right after he has discovered the first bluff) you can see the shadow of the mic boom on the back wall quickly moving from the middle to the right. (00:34:40)
Visible crew/equipment: In the scene in the cavern where Wesley fires his phaser to heat the rocks to keep him and Picard warm, Wesley's shadow is in the wrong place. The camera is in almost a direct line of sight between where the rocks are (which are supposed to be providing the light source) and Wesley with the cavern wall behind him. After Wesley fires his phaser and the room illuminates, his shadow should be either directly behind him or to the left of him, but his shadow appears to the right side of him. The only way his shadow would be there was if the light source was off camera a good distance to the left.
Half a Life - S4-E22
Visible crew/equipment: When Lwaxana and Deanna Troi are talking in Lwaxana's quarters (near the end of the episode), note the boom microphone you can see in the mirror as Lwaxana walks away from it the first time. Shadows from the boom microphone are also seen above Lwaxana's head on the wall. (00:40:20)
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.