General goods merchants are hit and miss, but there's a guaranteed source: the Thieves Guild.
Every Thieves Guild member sells lockpicks. Join the guild and you'll never run short again, which matters because lockpicks break constantly and running out mid-dungeon is a genuinely miserable experience.