To acquire the parry ability in Nioh 3, you'll first have to unlock the "Deflect" skill from the Samurai tree. You can do this once you complete the prologue/tutorial section, beat Yamagata Masakage, ...