memcached: lock

r? @oremj