Corpse Guard?

I guess it's the ultimate sleep no? :)

Maybe it's a separate plugin, but it'd be great to have the ability to make certain corpses unlootable if the player has permission.

There's a plugin out there, but it only works for admins, not based on permission.

Thanks for the plugin!

Yes, that's not what the plugin is supposed to do.
You need another plugin.