TMS, Lock statements don't work inside programs except for the throttle. Also, I suggest always using lowercase letters except inside a print quotation as it sometimes bugs out. Since steering does not actually lock, you have to create an until loop to continuously lock the steering to the new value. You would also run your general burn loop inside the same until. clearscreen. set closeprogram to 0. set yaw to 0. set pitch to 90. set roll to 0. set inittime to missiontime. set vardirection to up + r(yaw,pitch,roll). lock steering to vardirection. until closeprogram = 0 { set newtime to missiontime. if (newtime-inittime)>5 { set pitch to -90. }. set vardirection to up + r(yaw,pitch,roll). lock steering to vardirection. print "Steering is Y:" + steering:yaw + " P:" + steering:pitch + " R:" + steering:roll at (0,0). if Some Condition { set closeprogram to 1. }. }.