You asked

Which dedicated macro lens works best on a lumix s5 for close flower shots?

For close flower shots on the Lumix S5, the guide's first pick is the Sigma 70mm f/2.8 DG Macro Art. At 70mm you can get close without crowding the flower, and the lens gives you a comfortable working distance. The trade-off is that it's a fixed focal length, so you move your feet rather than zoom.

If you'd rather stay further back, the Panasonic Lumix S 70-300mm f/4.5-5.6 Macro OIS lets you shoot flowers from a distance and also covers other subjects. Its slower aperture means less light and less background blur, so it suits bright days. Its in-body stabilisation on the S5 is an advantage for handheld shots, though it steadies the camera, not a moving bloom in a breeze.

For more magnification, the Laowa 85mm f/5.6 2X Ultra Macro APO is built for very small subjects. For flowers it is often more than you need, and its focus is tighter to manage. The Laowa 35mm f/2.8 Zero-D Tilt-Shift 0.5X Macro is a better choice if you want flowers within a wider scene.

Full frame gives shallow depth of field at close range, as the sensor guide notes. Stop down to f/8 or f/11 when you need more of the flower sharp. The guide doesn't give prices for these lenses here, so check each lens page before buying.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.