remove lockType from v2.4