Check the docs: Render Baking
Tutorial: (It’s for normal map but should apply for the other maps as well)
You’ll need a low poly version of your mesh as well. You can use instant meshes for this. There is also an addon to integrate with Blender: Instant Meshes Remesh