lock is more suitable