My theory is that Locke is not dead and this because the bullet shot into his kidney, or actually where his kidney was supposed to be! The irony is that he gave away his kidney to save his father's life and then in the end it saves his own life. I think this is more plausible then "the island will heal him" or "Smokey or Jacob will save him."