Question: how to make refried beans thick?
Answer: Leave the lid off and let the moisture evaporate off.
OR Make a cornstarch slurry with a small amount of cold water and cornstarch. Stir into the beans.