We're sorry GroupDocs doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.com

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))
            return true;

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

please help me on this


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?