remove orphan lock

fix some deadlock bug