Cheers!

.
Ofcourse. The routine only runs when in combat.
I'd like to clarify as framelock is an incredibly popular subject these days and close to no users actually know what it does. So just for Tuanha ...
Does Framelock improve DPS or HPS?
Yes.
Even when the game becomes close to unplayable due to stuttering?
Funny enough, yes. Not recommended though

.
Stuttering with framelock, is it routine (Cc) or botbase issue?
Always a routine issue.
How do you know?
I maintain Tyrael

.
So now we're here, can you enlighten what framelock actually is and does?
Honorbuddy is able to inject ONE action into the WoW client per frame executed by WoW (30 times if WoW runs at 30 FPS). Framelock fixes this by keeping one frame stuck until HB is finished with it. This results in the ability to perform multiple actions per frame instead of one. The result is that HB is able to perform a LOT more actions per second with a framelock than without (as its able to run all required actions in one frame instead of in MANY).
If an action takes too long, and the frame is still locked when the next frame is ready you will have the well-known stutter/lag. This is a problem with the code running in a framelock.
This means that the routine (CC) was too slow handling the task it was performing.
Simply said: Normally per 1 FPS in WoW, honorbuddy can do 1 action. Locking a frame for X amount of time, basically till the code is done, allows you to do hundreds of actions in that single frame. So now your CC can calculate it's entire "loop" in one frame, instead of needing 50+ frames for the same.