Confusing Guy Friend

Trinity

So I’ve known this guy for about two years but have only started talking to him since last August. We became pretty good friends and I like him a lot. So he gives me very mixed signals like one day he’ll want all of my attention and then another day he’ll talk to me but he’s more distant. Our lockers are right next to each other and I always close his locker on him (my way of flirting) so while I’m trying to open my locker he’ll stand in front of it so I have to push him out of the way and he just laughs. We both always get in trouble in class because we’re always talking to each other. I was just wondering if you guys think he likes me or just wants to be friends, and how can I hint to him that I like him?