Characteristics of domain wall pinning and depinning in a three-terminal magnetic Y-junction