Generate password for lesson works