serious issue upon file preparation (locking 100% and Context matches upon preparation) - Can not unlock segments - Can not change status

Hi,

I prepared one file for translation and during the pretranslate stage, I chose lock 100% and Context matches.
I opened the file and could not work because of a repeated error message.
I could not unlock the locked segments (The option is dimmed).
I could not even change any segment status and the error keeps popping up.

Here is the stack trace. 

I am using the latest Studio 2024 SR final release.

Sameh Ragab

<SDLErrorDetails time="8/12/2025 9:50:08 PM">
  <ErrorMessage>Cannot change locked segments.</ErrorMessage>
  <Exception>
    <Type>Sdl.DesktopEditor.EditorApi.InvalidEditOperationException, Sdl.DesktopEditor.EditorApi, Version=18.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
    <ExceptionMessage>Cannot change locked segments.</ExceptionMessage>
    <HelpLink />
    <Source>Editor</Source>
    <HResult>-2146233088</HResult>
    <StackTrace><![CDATA[   at BilingualDocument.UpdateSegmentProperties(ParagraphUnitId paragraphUnitId, ISegmentPairProperties properties)
   at Sdl.TranslationStudioAutomation.IntegrationApi.Document.UpdateSegmentPairProperties(ISegmentContainerNode segmentNode, ISegmentPairProperties segmentPairProperties)
   at Sdl.TranslationStudioAutomation.IntegrationApi.Document.UpdateSegmentPairProperties(ISegmentPair segmentPair, ISegmentPairProperties segmentPairProperties)
   at Sdl.Community.PostEdit.Compare.Core.TrackChangesForReportGeneration.ChangeTracker.AddChosenTuToMetadata()
   at Sdl.Community.PostEdit.Compare.Core.TrackChangesForReportGeneration.ChangeTracker.ActiveDocument_ActiveSegmentChanged()
   at Sdl.Community.PostEdit.Compare.Core.TrackChangesForReportGeneration.Components.EditorEventListener.ActiveDocument_ActiveSegmentChanged(Object sender, EventArgs e)
   at Sdl.Desktop.Platform.Extensions.EventsExtensions.Raise(EventHandler e, Object sender)
   at Sdl.TranslationStudioAutomation.IntegrationApi.Document.OnActiveSegmentChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.OnActiveSegmentChanged()
   at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.SideBySideEditor_ActiveRowChanged(Object sender, ActiveRowChangedEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SideBySideEditor.raise_ActiveRowChanged(Object value0, ActiveRowChangedEventArgs value1)
   at SideBySideEditor.OnActiveRowChanged(Object sender, ActiveRowChangedEventArgs args)
   at SideBySideEditor.set_ActiveRowNumber(Int32 rowNumber)
   at SideBySideEditor.UpdateActiveRow(IEditControl editControl)
   at SideBySideEditor.OnSelectionChanged(Object sender, SelectionChangedEventArgs args)
   at SideBySideEditor.Target_SelectionChanged(Object sender, SelectionChangedEventArgs args)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at AbstractFrameworkEditControl.raise_SelectionChanged(Object value0, SelectionChangedEventArgs value1)
   at FrameworkEditControl.OnSelectionChanged(Object sender, SelectionChangedEventArgs args)
   at FrameworkEditControlEventSource.SelectionChanged(FrameworkEditControlEventSource* )
   at Tree.DocumentControl.vl_WindowProc(DocumentControl* , HWND__* , UInt32 , UInt32 , Int32 )
   at FrameworkDocumentControl.vl_WindowProc(FrameworkDocumentControl* , HWND__* h_wnd, UInt32 n_msg, UInt32 w_p, Int32 l_p)
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   at System.Windows.Forms.Control.DefWndProc(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio18</ProductVersion>
    <EntryAssemblyFileVersion>18.1.2.6370</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1256</CodePage>
    <LoggedOnUser>ADMINSAM\Ahmed</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>ADMINSAM</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>50276084 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

emoji