Are the mouse and keyboard not working in Windows 11? Try disabling fast startup, scan for malware, update driver, amongst other fixes.
I have an "ancient" Acer Aspire One 722 that still works perfectly fine as a printer server and an audio content server/streamer. Recently several keys of the internal keyboard stopped responding ...