Add lock/unlock statement support