Shane Lock, 32, was handed a community order in October for assaulting his former partner following a break-up.