What are the potential limitations of PaaS, and how do you mitigate them?

While PaaS makes things easier, I’ve heard about issues like vendor lock-in or limited customization. How do you handle these limitations, and what strategies do you use to mitigate potential risks? For those who’ve faced these challenges, I’d love to hear how you dealt with them and whether they impacted your decision to use PaaS for future projects.