Sorry to hear about your loss. Dealing with a computer issue is probably the last thing you want to be doing. Since this is a relatively new iMac I suggest calling Apple directly so you can chat with a support person who has probably dealt with this type of issue more times than any of us on this discussion board.
Contact Apple for support and service - Apple Support
Before you call them there are a couple items to try. Make sure that after powering on the iMac you are clicking on the mouse to wake it up. Try a minimum or two or more clicks.
Turn the mouse over and you'll see a small ~1/4 inch hole with a clear lens in it just to the left of the power switch. Make sure there aren't any fibers, pieces of dust, or a trapped piece of hair on or near the lens or it could prevent the mouse cursor from moving. It's likely not the issue, but it is easy to check just in case. In my case I once had a piece of hair on the lens which prevented the mouse cursor from moving side to side. Removing the tiny hair resolved the issue immediately. If you are able to locate your old mouse or borrow one from a friend that will quickly determine whether the problem is the result of a mouse issue or an issue with the iMac.
Try resetting the NVRAM which is a small amount of non-volatile memory that stores some variables. Resetting the NVRAM has been known to resolve issues and is easily done by powering on the iMac and then pressing these four keys together: Option, Command, P, and R for ~20 seconds. More info can be found in this Apple article:
https://support.apple.com/en-us/HT204063
Good luck, and please let us know if you need additional assistance, and especially when you get your iMac back up and running.