Are these sentences correct:
1-Locks on doors were broken.
2-There were locks on doors which had been broken.
(Most probably some of the locks on some of the doors were broken and not all of the locks on all of the doors.)
Thank you Emsr2d2.
3-Paintings on walls had been damaged by the vandals who had entered the mansion.
4-Paintings hanging on walls had been damaged by the vandals who had entered the mansion.
I am not sure whether it should be "walls" or "the walls". Won't "the walls" give the impression that we are talking about all the walls?
The best thing to do there would be to say some walls/some of the walls to avoid any ambiguity. However, I would imagine the more important aspect would be that some paintings had been damaged rather than the wall coverage.