I have the same problem since updating to Big Sur. It only happens when I close the lid without shutting down the Mac. When I open up the lid again, everything works fine except the trackpad. Moving the courser is possible, but clicking doesn't work at all. The way to fix it is to manually shut down the computer by pressing and holding down the power button. It is a really annoying problem!!!