Lock camera to moving object in the middle of a matinee


I’m trying to make a small animation with UE4 that consists in a star and one planet orbiting around it. Then I want a camera to get close to the camera from up, rotate around the star, and then move to meet the planet and rotate around it.

The first part is really straightforward, because the star is static (it rotates, but doesn’t move). But the planet is moving really far away, and making the camera match the trajectory and move around it is taking me a really long time. ¿Is there a way to lock the camera around the planet after it leaves the star? Or maybe to make a change of the coordinate system centering it on the planet after the camera leaves the star.