Other mistake: In the transporter room, Data asks the computer what file log is shown. The computer reply is "Transport Log 759", Data confirms "That is the correct log", but the screen reads "Transport Log 721".
Other mistake: As Beverly points to a planet on the monitor, the read out on the planet is upside down.
Other mistake: As the cloaked Warbird looks at the Enterprise, the registry number on the under side of the saucer is reversed.
Other mistake: When Ro Laren enters the Jeffries tube, she makes a sudden shift to her right (our left) as she begins crawling; she was trying to avoid the camera.
Other mistake: When Scotty goes to the holodeck to visit the original Enterprise, the computer tells him there are 5 Federation vessels with that name. (NX-01 served before the founding of the Federation so this is technically correct.) Scotty specifies NCC-1701, "no A, B, C or D." The computer then tells him the program is ready. The computer should have asked him if he wanted pre or post refit NCC-1701. The ship we see in the Original Series was rebuilt/refit into the ship we see in The Motion Picture.
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.