Affimer-mediated locking of p21-activated kinase 5 in an intermediate activation state results in kinase inhibition.