If the containerized app you’re deploying follows 12 factor principles it’s very unlikely that you’ll be locked in due to specific functionality
The cost to move your operations expertise to another platform and learn all of its new quirks might be significant though.