Diablo 4 can seem a bit restrictive at first with its locked ability slots, but once you level up a fair amount and have all the different types of skills available to you, the game lets you toy around with your button layout as you please.
Diablo 4: How To Change Button Layout
You aren't locked to the preset buttons in Diablo 4, you can change them at will. Here's how!