The material below is Open Game Content from a 3PP Source
School transmutation; Level bard 0, magus 0, sorcerer/wizard 0, summoner 0, witch-4wfg 0
Casting Time 1 standard action
Components V, S, F (a brass key)
Range close (25 ft. + 5 ft./2 levels)
Target object weighing up to 30 lbs. or portal that can be opened or closed
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 on a chest), the spell fails. In addition, the spell can only open and close things weighing 30 pounds or less. Thus, doors, chests, and similar objects sized for enormous creatures may be beyond this spell's ability to affect.