The first picture shows a type of laminated/finished panel, while the second picture is an example of toilet cubicle partitions. For toilet partitions, a particularly suitable option is Compact HPL (Compact Laminate).
Compact HPL advantages:
💧 Water and moisture resistant
💪 Strong and impact resistant
🧼 Easy to clean
🦠 Hygienic and suitable for bathrooms
🔥 Generally has good resistance to heat
🪵 Available in many colors and wood/stone patterns
🛠️ Easy to cut, drill, and install with suitable tools
⏳ Long service life