The value to start from.
The value to move towards.
The percentage amount to move. A value between 0 and 1.
If the distance between from and to is smaller than lock, the return value will snap to end.
The start value moved with lerpFactor towards the end value.
Linear interpolation between 2 values.