Change rotation throught way

Hello,

I try to change rotation of my seeker throught way to implement rotation when he complete path. For example seeker start his path from point 0,0,0 and have rotation 0,0,0(eulere degrees) and i want him go to point 5,0,7 and when hi arrived hi must have rotation angles (0, 126, 0). But i don’t want tot rotate them whe he reach end point, he must reached this point and already have rotation (0, 126, 0). Maybe exists some examples?

Thx alot for help.