It is not a locution, see no (denial), surrender, surrender, pronominal se.
DO NOT GIVE UP Expression that calls to continue with the necessary effort to achieve a goal: the Chilean soldier is taught never to surrender.