Let me guess, you’ve heard about it in uncut gems, am I right? The only other movie that comes to mind that mentions this type of bet is Bad Lieutenant, maybe Sopranos, I don’t know. I got distracted a bit here. There’s one article that covers the subject in great depth, and it will help you with learning and applying this concept. Here you go
https://www.lines.com/nba/props . And check some other interesting articles and guides there as well.