If some other external routine was waiting for the lock, it might or might not get control before the function call returns.
If some other external routine was waiting for the lock, it might or might not get control before the function call returns.