Have you tried using serverless/serverless-offline? https://www.serverless.com/
Cosmotic's comment kind of confirms my suspicions to be honest.
I posted elsewhere in this thread but checkout SST (https://github.com/serverless-stack/serverless-stack), it lets’ you work on your Lambda functions live without having to mock AWS services locally. Here’s a short demo (https://youtu.be/hnTSTm5n11g)