When editing pages or posts with Gutenberg, the layout cannot be changed. If the Classic Editor plugin is active, you are able to change layouts.