@ThePhoton You using altium? You may already know how to do this: Just do a ctrl+F and search for Locked Primitives (unchecked) and Same Check the selection, then go to the PCB editor and click the check box on Lock Primatives. All of the components that had unlocked primitives will now be locked