增加lock逻辑test
Signed-off-by: xrma <15010117758@163.com>