A genius's last great work was designing a magnificent mansion inhabited by an AI, and the novel opens with the AI contacting the local police department to inform them that someone just died in the supposedly-sealed mansion. Available at Amazon, but I read it for free in Libby.