Whisk the masa harina, salt, and baking powder together in a large bowl. Rub the lard into the dry ingredients with your fingers until the mixture looks like coarse crumbs. Pour in the warm water and mix with your hand until a soft dough forms. Knead in the bowl for 2 to 3 minutes until smooth.
Cover the bowl with a damp kitchen towel and let the dough rest for 10 minutes at room temperature. Meanwhile, warm the refried beans in a small saucepan over low heat.
Divide the dough into 8 equal pieces and roll each into a smooth ball. Keep the balls covered with the damp towel. Press each ball between two sheets of plastic wrap or parchment paper into a thick round about 4 inches across and 1/4 inch thick.
Heat a dry cast-iron skillet, griddle, or comal over medium heat. Cook 2 or 3 gorditas at a time for 3 to 4 minutes on the first side until the edges look dry and golden-brown spots appear. Flip and cook 3 to 4 minutes more until puffed at least partly. Keep warm under a towel while you cook the rest.
Hold a gordita in a folded kitchen towel and push the tip of a small paring knife into the edge. Cut about halfway around, leaving the other half attached, to form a pocket. Split each gordita while it is still hot.
Spread about 3 tablespoons of warm refried beans into each pocket. Add crumbled queso fresco, salsa verde, onion, and cilantro. Serve immediately.