EOS doesn’t have password protection built in, this is something you could create yourself on top of the lobbies interface, but will not be a trivial amount of work.
https://dev.epicgames.com/community/learning/knowledge-base/Jdvwz/epic-online-services-does-eos-have-the-ability-to-password-protect-lobbies