Whether you own a Samsung Galaxy, Google Pixel, or OnePlus device, here’s how to change the side key default from activating the voice assistant to displaying power options.
On a Samsung device, open up your settings > scroll down to Side key > select Power off menu under the Press and hold row.
On a Google Pixel or another Android, open up settings > scroll down to System > tap on Gestures > scroll down to Press and hold power button > toggle off Hold for Assistant.
Also: 7 Google Pixel phone settings you should change immediately
Now, when you press and hold the power key, your phone should prompt you with the power off options instead of the voice assistant.