You can customize the Power button, controlling what happens when you press it twice and when you press & hold it.
Choose what you want the gesture to do:
To start a voice command, select Digital assistant.
If you select a choice other than Power menu, then to see the Power menu for turning off and restarting, you'll need to press the Power + Volume up buttons simultaneously.