MivaScript Builtin Function, Miva Merchant 9+
miva_lockfile( path, location ) <mvt:assign name="g.return_value" value="miva_lockfile( path, location )" />
Creates and locks a lockfile. Similar to the behavior of MvLOCKFILE without the closing /MvLOCKFILE behavior. It also creates the exact filename, rather than appending ".lck" to the filename as MvLOCKFILE does.
fully qualified path to the file
location of the file - 'data' or 'script'