hi, well i have a Ball python... is like 2 months old and here is my question

i have a 10 gal tank with a lid on the top... how i can secure that so the snake will not scape in the future?