Returns a value that cannot be changed.
Usage
lock(float)
This function simply returns the value of its argument. However, it is special in that if an expression is enclosed in a lock function, then its values cannot be changed, until the lock expression is removed.