Simply typing a password is not enough to ensure maximum security. In the "Add to Archive" window, pay attention to these two crucial settings:
Yes, but you cannot create them easily. The Unarchiver or Keka are popular Mac apps that can extract password-protected .7z files. 7zip password protection