Put a moveable object where you want your door, then have a gravlift/mancannon pushing it. Block the movable object with a custom powerup. When the player picks up the custom powerup, the block will be pushed, and the door unlocked.