Remove all locks in matlab dlg.