NAME
Kernel::WebApp::Controller::API::Role::ProvidesAgentTicketLock – Role that provides helpers to check and lock the ticket.
ProvidesAgentTicketLockTicketID()
Returns the ticket id to use, if it was not given as a method parameter, it will get from the controller context ($Controller->param('TicketID')).