Nonsymplectic automorphisms of prime order on O’Grady’s sixfolds