Is it lock-in? It’s just your code being packaged in a container and run on an api invocation. I thought one could move from any of the big three’s serverless function offerings pretty easily?
On Azure it's not a docker container, or any other kind of 'standard' container.
That said you can get a docker container with the Azure Function runtime, so you could in theory port your functions elsewhere, but I don't think you get the monitoring benefits that you'd have keeping it on Azure.