Keyboard and trackpad freezes for a while after sleep in macbook pro 2019
I've been running into the same issue, but have been experiencing it since 10.14. I've contacted Apple Support and they had me reset the SMC, I haven't had enough time to see if this is a permanent solution (I doubt it is). There's many troubleshooting steps they'll have you try before they consider servicing the MacBook.

Here's the page with the instructions to reset the SMC Resetting SMC - Apple

My hopes are that this is a simple software patch and will be resolved soon.