I would say so. Although I'd prefer this: When opened, the box will release evil spirits into the world. But I certainly don't like how the sentence will sound if stated this way: The box will release evil spirits into the world when opened.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.