Success would vary based on the quality of the explosive, Explosives skill, and failures would result of the items within the container being destroyed and/or damaged. You use a dynamite to open a container? High chance of failure. You use shaped C4 around the locking mechanism? High chance of success.
Edit: Also, is there a mod that removes the arbitrary number requirement for lockpicking and just makes it progressively more difficult the lower your skill level is?