usually, you use one lambda for one specific need. get the request, do the work and return the response. I did not see how can be locked. the concern for me is the limitation of uploaded file size.
Check out JAWS, it has Lambda optimization built in. It browserifies and minifies your code before deploying it. You will regularly see 20mb files shrink to 100kb.