Create rowlock