I've been testing, and it is possible to add a file to a password-protected folder compressed in .7z format. I was using the wrong procedure. To do it correctly, open 7zip, select the file to add, ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results