Added functions to specify lock numbers for each resource generally, and
in case of OMLP