Move locked function to evaluate.cpp