It's no simple thing, picking a lock. It looks it, but it ain't. If a fellow was to take a lockpick and just poke it around in a lock, why, the first good twist and it would snap like a twig. And then you've done all bad and no good. A broke pick, and now a broke lock.
I'll give you the clue. To unlock a lock, you've got to build a lock. It's the pins, you see. You can't move the little pins around like you was stirrin'a pot. You've got to get them all in a line and marching in order. A Tinker like me, we've seen a lock from the inside, and know how they work. A Thief, he knows how it works too, only it's from practice and poking and playing. He gets to know how the pins work from spending the kind of time with them that gives him more than just a casual knowledge. It's a thing no lazy Thief can master... nor a stupid one, neither.
– Trenton the Tinker
To engage in lockpicking, double click on a lockpick and then double click on the door or chest that you need to open. Locks vary in ease of picking and some cannot be opened until the Lockpicking skill level is sufficient. House doors, ship locks and magical locks cannot be picked.
Lockpicking can generate a significant income for a player. Most NPC shops have boxes, chests, crates or strong boxes which can be picked. Usually such containers contain items related to the shop (ie. pieces of armour at a smith, cloth at a tailor etc) and/or an amount of gold that varies from 50 to 180. The items can usually be sold back to the NPC vendors. You can expect to earn 1000 gold pieces (+/-150) by unlocking as few as ten chests (skill level permitting).
Some containers in NPC shops (and other places too) spawn semi-rare items such as cards, forged metal, wire, open coconuts or other oddities that have no use of their own except as decoration. These can be sold to other players. In some cases you can simply take the item but in others the stealing skill will be required. You need not be in the Thief guild for this. Taking an item from an NPC shop container will not flag you as a criminal.
Dungeon chests, though more risky, can be more profitable once your level is high enough. Chests contain a quantity of gold plus gems, magical armour, clothing, reagents etc. High level (difficult to open) chests contain better treasure.
You can macro lockpicking by acquiring a large quantity of lockpicks as well as a player-crafted container (wooden box, chest, crate, etc.) The higher the Crafter's Tinkering skill, the harder the lock is to pick. You can macro your lockpicking skill as high as 95.0 adjusted by stats- shown as the "value" column in razor , after that you must raise your lockpicking skill by using Dungeon chests.
Razor Macro (by Azimer)
Here is my razor macro if anyone needs it. You will need a box crafted by a 50carp/50tinker character until 76 skill then you may switch to a GM crafted box until 95. This macro is pretty simple, it just relocks the box under various conditions. You will need to make sure you set the proper targets for your key and box (absolute target).
Note: On a "50/50" box, you will not gain lockpicking past 74.4 "Real" skill. If you stop gaining before this, it's likely the 50/50 box wasn't really 50/50. Try swapping that out for a genuine box.
!Loop Assistant.Macros.DoubleClickTypeAction|5372|True Assistant.Macros.WaitForTargetAction|30 Assistant.Macros.AbsoluteTargetAction|0|0|1075358412|63|66|0|2474 Assistant.Macros.PauseAction|00:00:05.1000000 Assistant.Macros.IfAction|4|0|quickly Assistant.Macros.DoubleClickAction|1075358422|4110 Assistant.Macros.WaitForTargetAction|30 Assistant.Macros.AbsoluteTargetAction|0|0|1075358412|63|66|0|2474 Assistant.Macros.EndIfAction Assistant.Macros.IfAction|4|0|unlock Assistant.Macros.DoubleClickAction|1075358422|4110 Assistant.Macros.WaitForTargetAction|30 Assistant.Macros.AbsoluteTargetAction|0|0|1075358412|63|66|0|2474 Assistant.Macros.EndIfAction Assistant.Macros.IfAction|4|0|appear Assistant.Macros.DoubleClickAction|1075358422|4110 Assistant.Macros.EndIfAction Assistant.Macros.PauseAction|00:00:00.6000000