Open/Close

School: Transmutation
Level: Wu Jen:0, Bard:0, Sorcerer:0, Wizard:0
Components: V, S, F
Casting Time: 1 standard action
Range: Close (25 ft. + 5 ft./2 levels)
Target/Area/Effect: One door, chest, box, window, bag, pouch, bottle, barrel, or similar container
Duration: Instantaneous
Saving Throw: Will negates (object)
Spell Resistance: Yes (object)

You can open or close (your choice) a door, chest, box, window, bag, pouch, bottle, barrel, or other container. If anything resists this activity (such as a bar on a door or a lock), the spell fails. In addition, the spell can only open and close things weighing 30 pounds or less. Thus, a heavy door is not affected by this spell, nor are barred, locked, or wizard-locked portals.

Material Component / Focus: Focus: A brass key or a small piece of metal.
Source: Player’s Handbook