The trick is to find the right position on the lock and try to turn the lockpick. If it does not work, then you should not hold the LMB, but rather release it and look for another point. I did lockpicking without relying on how it's work in Skyrim, since I did not play it...