finish lockingv3

Signed-off-by: zhouyou <zhouyoug@gmail.com>