set max number of locks