I use a belt for most of my lifts, and I think it is just a mental aid. When I squat I leave my belt pretty loose and try to push my abs against it. When I put my belt on it makes me much more confident and that is why it helps me.

Deadlifts I usually wear my belt pretty tight for safety. I am not sure how much it helps though, but I just feel more comfortable lifting with a belt on