IPhone top button stuck, can't lock my phone. Is there a Cydia app that can

Like maybe a Cydia app that lets me double tap the home button and my phone locks? It's a struggle. I can't lock it unless I have that annoying gesture thing on my phone or just wait a minute. It's just annoying lol

I'm not sure how jailbreaking can cause that to happen. Try rebooting it? Hold down both the lock and home buttons simultaneously until the phone screen goes dark, then turn it on like you normally would. If it doesn't work fine by then, your lock key is probably physically damaged.mine was once and apple fixed it and it was pretty pricey so be careful.