It is not a locution, and is perfectly understood by carrying ( "behaving") and well.
Carrying well means don't get in trouble
BEHAVE WELL: BEHAVE, ACT, PROCEEDS, WORKS WELL.LEAD YOU TO WELL WITH OTHERS.COEXISTS WELL.