Take a look at in Properties -> Render and look for the Dimensions panel. In there you’ll find Frame Rate. By default, it’s set to 24 fps. Change it to 60 or whatever.
Set up your animation the same way you’d set up any other. In other words, it’ll run in real time when you play the Timeline.
Render out the animation. If you render to a sequence of images (which is highly recommended) rather than a video file, you can then set up a 24 fps project in your video editor of choice and load all the images in. The result will be slow motion.
You can do the equivalent of a 24 fps project in Blender’s video compositor, but I don’t know how so I’ll leave that for someone else to cover. I’m not even sure I’m calling it the right thing (video compositor).