Set sonference room password and lobby mode

Hello,
is there any possibility or some lua file to generate a random password or / and enable lobby room while create a new conference ? We are using jwt to create a new room. It will be great if some can loved some solution while jwt generate token access also set a random password.