It's a skill in the Ghost tree - Lockpicking Expert (Ace). Once you have that, you're able to pick safes (the icon for the picking that requires this skill is the screwdriver with the Swiss army knife looking thing next to it, as opposed to just the screw driver for normal pickables). Once you've got the skill, just aim at the lock itself (not the icon on the safe), and hold your use key.