Is there any possibility to code an app that displays the same information like the Lockscreen when the iphone is NOT charging and playing a song? (cover + title)

Reason for this question: I'm using my iPhone in my car with an alpine headunit. When connected the headunit controls the ipod, the iphone shows in ipod mode "accessory connected" and you can't do anything.
Now since you can't tell the iphone to not-disable the lockscreen after some minutes i thought about an app that displays the ipod stuff...