Hosting all stuff in cloud does prevent getting locked by some ransom ware.
Plus security isn't an absolute. A determined enough actor could always hack you.