In Sly 2, the vaults contain gadgets. To open a vault and claim its gadget, you need to collect all of the clue bottles in that level. Once you've gathered them, the vault unlocks and the new piece of equipment is yours.