Dell Latitude 7410 2-in-1 Chromebook: Keyboard and Screen Not Responding When Folded (Sensor/Driver Issue?)

I’m having an issue with my Dell Latitude 7410 2-in-1 Chromebook. When I fold the laptop, the physical keyboard doesn’t disable, and the screen doesn’t rotate automatically. It seems like the sensors aren’t working properly, and I suspect I might be missing some drivers, but I haven’t been able to find a solution. Has anyone else faced this or know how to fix it?