You have been put in charge of hte decision to unlock the shooter's Iphone, would you authorize it?

(Making software to unlock it can be stolen and cause damage to other people's data)

No. There are enough security breaches without introducing deliberate ones, and if the investigators can't obtain enough evidence with all the snooping gear and powers they already have, then this extra probably won't make any difference.