If you fail on the first lockpick attempt the lock jams, you can reload a save to try again! Your lockpick chance starts at 50% but there's ways to get it higher by finding books (one in Act 1 and one in Act 2)!