Find a safe that can be picked that also has a nearby terminal that can be hacked. Pick the safe, then hack the terminal to relock the safe. Pick the safe again, use the hacked terminal, then relock the safe. Repeat this process as many times as desired to earn lock XP each time. You will also gain affinity with companions Piper, Cait, and Deacon as long as the safe is unowned.
This article uses material from the Cheatcc and is licensed under the Creative Commons Attribution-ShareAlike License