iPhone screen is unresponsive and sometimes works
I currently am using an iPhone 5s. Last week, I have been experiencing problems with my iPhone 5s (I know, its really old, but I just love this phone way too much). Anyways, the problem started out where the screen would randomly freeze up, but the home and lock buttons would work perfectly fine. Siri is working fine too. To fix this problem, I would simply lock the phone and re-unlock it and it would work completely normal. However, over the course of the week, the lock and unlock method stopped working, and whenever I use my touch ID to unlock my phone, I am stuck on the home screen unable to press apps or to do anything else. If I leave my phone locked for a while and then re-unlock it, then the screen is responsive for a couple of minutes, but again stops working and becomes unresponsive. Adding on to that, I've restarted my phone multiple times -- it would be responsive for a couple of minutes, but then stops working again. The phone is mildly cracked, but that didn't hinder the screen response before.
After some research, I've come to the conclusion that maybe my digitizer and the LCD screen aren't connected properly, or if the connections were broken due to dropping the phone a lot. Would getting my screen replaced help fix this problem, or are there any other solutions?
Adding on: I have vertical blue/ red lines on my phone
Is this a good question?