After adding password original file keep locked

My Groupdocs version is 22.12.0
I am using following code to add password to a file

            AddPasswordOptions addOptions = new AddPasswordOptions(Password);
            

            using (GroupDocs.Merger.Merger merger = new Merger(OriginalFilePath))
            {
                merger.AddPassword(addOptions);
                merger.Save(OutputPath);
              
            }
            return true;

After execution of code password added. But the original file keep locked I cannot delete the file.

please help me on this

Thanks
Tilanka

We added password to a sample Word file (source.docx) and saved it as output.docx. Later deleted source.docx without any issue.
Could you please share more details and source file?