Second Macbook Pro as extended display
There is no built-in Apple way to do this. Your only option would be to use third party software such as Air Display. However, I cannot vouch for how well it will work in your scenario.