Obviously, no, we did not expect to migrate our AWS Serverless backend to something other than AWS.
Avoiding vendor lock in makes sense in few, select circumstances.
Avoiding vendor lock in for the sake of avoid vendor lock in leads to over engineered services that take longer to deliver because people are going out of their way to avoid using vendor-specific tools.
In all of my time as an engineering manager, the number of times that avoiding vendor lock in has solved more problems than it caused is still zero.
Use the best tools available at your disposal to get the job done. Cross the vendor-changing bridge if (and only if) it becomes a requirement.