Chosen Solution

I have updated the big sur to 11.5.1 but now my mackbook m1 power button which also works as touch id is behaving abnormally,whenever i press it my machine got turned off and i have to switch on it again,what should i do?

I would contact Apple pronto! These laptops only released November of last year so as long as you haven’t liquid damaged it that system should still be under warranty, backup your files and then let them fix whatever is broken on their dime.