gen: prelock option added.