Make race detector not fire on this simple test

Do the standard Lock()/modify/Unlock() dance.