This question already has an answer here:
There is only one thing I hate on macOS (Sierra) since this was created.
I open an application and work on it.
I click on another application on the dock and the whole screen slides to the right and I see that app.
I click on the first application on the dock and the whole screen slides to the left.
For heaven's sake. How do I disable this? If I want to slide I go to an ice rink.
I have already typed that on terminal and restarted the machine
defaults write com.apple.dock mcx-expose-disabled -bool true
and this hateful thing continues.
I want to disable spaces, mission control and for that matter launchpad too and all other things like that.