Question: how do i unlock my iphone when the screen doesn't work?
Answer: Press spacebar once, to bring up the lock screen. Press the right arrow key until you get to "Press home to unlock button."
Press the up and down arrow keys simultaneously to "click" that button.
Enter your passcode via keyboard again.