In some jurisdictions, it is still technically a crime (although it has no punishment) in order to allow the Police to force entry into your property to "save" you. Most police forces around the world don't need a warrant if they have good reason to believe that a crime (in this case, a suicide) is actively being committed on the property.
Some jurisdictions are, however, just regressive shitholes that still actually criminalise suicide (with jail time) because it's a "sin" or whatever. Hence why they're considered shitholes.
Of course, most countries just decriminalise suicide and give the Police special powers to force entry without a warrant during mental health cases. I've had the Police here in the UK do it to me many times - no warrant needed and suicide isn't illegal here.
Kind Regards,
CumbriaCTB