tamzidhasan wrote:
I forced a restart. Now it requires a password to make it workable. If I can unlock it, I can access it through my MacBook.
Even with a screenshot of the lock screen, the chances of being able to enter the correct code in the exact correct spots is not likely. And if you do it wrong (even if it's possible you could do so in the first place), entering the wrong numbers by not being exactly where your finger needs to be will ultimately lock you out of the phone completely.
Instead, you have a failing screen and you need to schedule an appointment at your Apple Store Genius Bar or Authorized Apple Service Provider to pay to have the screen replaced. It's kind of like asking how to steer your car if the steering wheel doesn't turn.
Genius Bar Reservation and Apple Support Options - Apple