The most important thing you need to know about the Harry Potter Studio Tour (technically called “Warner Bros. Studio Tour London“) is that, as their home page says in print that really should be bigger,
“Tickets must be purchased in advance. Tickets are not sold at the Studio Tour.”
You cannot show up and expect to buy a ticket on site.