Cocking is currently deputy Police and crime commissioner for Hertfordshire, a role he was appointed to in 2021. Before this, he was a policy, communications and funding manager for Engie.[4][5] Cocking's first job was in his local branch of Sainsbury's, in Hoddesdon.
Cocking was first elected to Broxbourne Council in May 2016, representing Wormley and Turnford ward.[6]
He became leader of the Council in May 2019,[7] and a Hertfordshire County Councillor for Hoddesdon North in 2021.[8] Cocking is also a governor for Wormley Primary School,[9] which he attended as a child.