Inclusion Criteria:
* Aged at least 18 years.
* Histologically or cytologically confirmed locally advanced or metastatic non-small cell lung cancer, gastric or gastro-oesophageal junction adenocarcinoma, squamous cell carcinoma of the head and neck, melanoma other than ocular or uveal, triple-negative breast cancer, castrate-resistant prostate cancer (CRPC), microsatellite stable colorectal cancer, pancreatic ductal adenocarcinoma, or epithelial ovarian cancer. Tumour-type-specific requirements for prior therapy also apply.
* Measurable disease by RECIST v 1.1, except CRPC, which may be measurable or non-measurable.
* At least 1 prior line of systemic standard-of-care therapy, with radiographic progression on or after the last line received. CRPC with non-measurable disease must instead show progression of PSA.
* Eastern Cooperative Oncology Group (ECOG) performance status of 0 or 1.
* Life expectancy greater than 3 months.
* Able to provide pre-treatment tumour tissue, either archival or as a fresh biopsy.
* Adequate organ function within 14 days before first dose, including absolute neutrophil count greater than or equal to 1.5 x 10\^9/L, platelets greater than or equal to 100 x 10\^9/L, haemoglobin greater than or equal to 9 g/dL, bilirubin less than or equal to 1.5 times the upper limit of normal (ULN), transaminases less than or equal to 3 times the ULN (5 times the ULN if liver metastases are present), and creatinine clearance greater than or equal to 50 mL/min.
* Agreement to use contraception according to the protocol.
Exclusion Criteria:
* Pregnant, breast-feeding, or planning to become pregnant during the study.
* Any investigational medicinal product within 30 days, before Cycle 1 Day 1.
* Part 1 only: more than 4 prior lines of systemic chemotherapy in the advanced or metastatic setting. Part 2 instead applies tumour-type-specific requirements for prior lines of therapy.
* Uncontrolled brain metastases.
* Active or past autoimmune disease or immunodeficiency.
* Idiopathic pulmonary fibrosis, organising pneumonia, drug-induced or idiopathic pneumonia, or evidence of active pneumonia at screening.
* Severe cardiovascular disease within 6 months.
* Significant surgical procedures, other than diagnostic surgery, within 4 weeks before the start of study treatment, or expected to require significant surgery during the study period.
* Known human immunodeficiency virus infection or current active hepatitis B or hepatitis C. Participants with prior HBV infection with negative HBV DNA are eligible. Participants clinically cured of hepatitis C, at least 12 weeks after completing antiviral treatment, are eligible.
* History of life-threatening toxicity related to prior immune therapy, for example an inhibitor of PD-1 or PD-L1, an anti-CTLA-4 agent, or any other drug targeting T-cell activation or immune checkpoint pathways.
* A live virus vaccine within the 4 weeks before Cycle 1 Day 1, or plans to receive a live virus vaccine during the study.
* Corrected QT interval using Fridericia correction greater than 470 milliseconds.
* Prior treatment with DAX-044 or any interleukin-12-based agent.