Howdy!
If you're playing the Demo and save your game on the ship, you can export a save to use in later versions while retaining all of your unlocks. Saves will fail to load if you attempt to load one where you're on a planet that no longer exists.
In future demos, you'll likely get thrown back to the ship if a location is no longer available, but that isn't implemented yet.