First you need to determine what locked up and why. Is it a hydraulic lock from fuel pouring into the cylinders or something more serious?
We have seen problems with oil leaks at the crankcase cover, usually due the weight of a hydraulic pump distorting it. The usual fix is a second gasket and retorquing the bolts.