iPhone lock screen gestures

I'm not actually an IOS developer, but I own an iPhone. I want to develop an app (or more to say an hook) for me personally that requires a gesture recognition on locked screen. The base idea is to create a gesture that will run a bike horn sound.
I have an electric wheel and I don't have a physical place where to install a horn, so i think an phone app would be ideal. At the same time I don't want every time to unlock the phone then run the horn app, as this should be a very quick action.
Hi there,

You probably want to change tag on your question, as Instruments is a performance tool on Apple Platforms and your question seems to be iOS based.

Thanks,

Kacper
iPhone lock screen gestures
 
 
Q