My 2016 13" MacBook Pro's screen goes black when it is opened vertically beyond 90 degree
Welcome to Ask Different. This sounds a lot like a hardware issue unfortunately - specifically a loose display cable. For MacBook models 2016 - present, the display cable is integrated into the display itself, so you will need to get the whole display replaced. Please see the attached article for further information regarding the issue. Sorry and best of luck.