This study will explore whether defactinib (a FAK inhibitor) can be safely and tolerably combined with pembrolizumab (a PD-1 inhibitor) and will look for early indications of improved anticancer immunotherapy. It will focus on three key cancers, all in clear need of improved therapies - NSCLC, pancreatic cancer and mesothelioma.