Francisco Suarez, De Fide Disputation X, De Summo Pontifice, Sect. 6
“I say secondly: in no case, even of heresy, is the Pontiff deprived form his dignity and power immediately by God himself, without undergoing the judgment and sentence of men. This is the common opinion today. And among other things dealing with the penalties for heretics we will relate, and show that generally no one at all is deprived from dignity ecclesiastical and jurisdiction for the fault of heresy by divine law. … I say thirdly, if a Pope were a heretic and incorrigible, he would cease to be pope after a declaratory sentence of the crime were advanced against by the legitimate jurisdiction of the Church. This is the common teaching of Doctors. … In the deposition of a heretical Pope, the Church does not act as a his superior, but with the consent of Christ the Lord, it juridically declares him to be a heretic, and even altogether unworthy of the dignity of Pope; he would then [after the declaration] ipso facto he is immediately deposed by Christ, and once deposed he would become inferior, and could be punished.”
Summa S. Thomae of Charles Rene Billuart, O.P. (1685-1757)
Secunda Secundae, 4th Dissertation: On the Vices Opposed to Faith.
~ Article 3 ~
"I say that manifest heretics, unless they are denounced by name, or themselves depart from the Church, retain their jurisdiction and validly absolve. …
"Nevertheless, the more common opinion (sententia communior) holds that Christ, by a special dispensation, for the common good and tranquility of the Church, will continue to give jurisdiction even to a manifestly heretical pope, until he has been declared a manifest heretic by the Church."
 Cajetan, de Auctoritate Papae, c. 18 et 19; Soto, 4, d. 22, quest. 2, art. 2; Cano de Locis, 4, c. ult. Ad 12;
Cordibua, bk 4, q. 11.