add a lock using eval

Using eval to evaluate lua scripts. This lock can be used in twemproxy.
Would you mind adding a docstring here that it works with twemproxy