Megalock.dll is just the license file for the lg flashtook program so don't try to load it.
You need to check the manual mode box and then click the little box to right of dll field. Look for a dll file that starts with LS740. Then click the add button beside the S/W field and select the tot file you downloaded. Then select Board DL in tge Action Mode field.