David Lowery is resigning as CEO of Stamford-based Patriot Bank, after two years as the top executive of the bank.