Most locks are metal, and those that aren't still usually have thin, delicate parts. Acid, being fluid, can easily flow into such tiny places and eat away at them. Usually, this opens the lock, but other results have been known to occur... The skill 'cast alchemy' lets you make stronger acid for tougher locks.