This happens every time my Macbook Pro M1 Max is woken from sleep.
TouchID wont work so i have to type my password in to log in.
Caps lock light on keyboard doesn't work
And scrolling on mouse doesn't work.
Turning off/on mouse fixes the scrolling issue at least.