Once a memory-resident variable is set in memory, the same variable can be accessed and modified by multiple threads.
If these variables are not locked, then it is possible that two threads (requests) may be able to update the variables at the same time, and possibly corrupt the variable