These were non-uniformed undercover police that intercepted the guy. In this scenario it's very plausible to think you're about to be robbed, and hitting a 'lock device until I return home' panic button could never be considered any of those things given the circumstances (under UK law, anyway.)
Hitting a panic button would mostly likely qualify as evidence tampering, disruption of investigation, or evasion of justice.