Can I import photos from a locked iPhone to Mac?
It will do it without unlocking, unless you've restarted the phone or entered so many incorrect passwords that the phone has locked out any further attempts. 

If you've restarted it or tried too many times, then you're in about the same position as the FBI in the US right now - in short, no, you can't get it to do anything until it's unlocked.

You could try putting another identical phone side by side with it &amp; tapping in the same place on both phones simultaneously, to see if it will accurately recognise the taps; but if that doesn't work [&amp; be careful you don't accidentally lock out the other phone] then the only real solution is to get the screen fixed, or check your iCloud storage - see if they're all already saved online.