Lock or setpassword for muc

Hi, is i posible to lock/set random password for at muc after people has joined it?

yes,

You’'ll just need to update the room configuration with a random password after all desired participants have joined.

Cheers,

Alex

Yes that was what I thought of, but I haven’'t been able to figure out, how to change this configuration thing. Has it something to do with creating a Form object?