While it is true a dead body cannot unlock a device via fingerprint, the very freshly dead body likely would have been able to with the residual electricity left. Even if it didn't, cracking the guy's chest to massage the heart was completely unnecessary and simple CPR would have sufficed.