Some basic googling would tell you that:
1. the AfD thing was the decision of individual banks, not of the German government. Basically, in a free world companies can decide who they want to do business with.
2. the Canadian trucker "debanking" was quickly resolved because the Canadian justice system did their job and overruled the unlawful "emergency" government order