First of all, regardless of the movement, a lifting belt will always do the same thing, which is to provide a hard surface around your body, prevent hyperextension of the lower back and allow you to create more intra-abdominal pressure.
This obviously applies to the overhead press as well, therefore if you know how to take advantage of a belt for exercises like the deadlift, you don’t need to learn anything new for this exercise.
One important thing to mention is that, even if a belt can limit your ability to use extreme layback, you should not count on it to completely stop you from doing that.
If you use extreme layback during the overhead press, it means your technique is not on point and a lifting belt will not help you to correct that, so you might consider lowering the weight and building from there with a proper form.
If you are a beginner and don’t know much about this exercise, or you just want to refresh your knowledge, you can watch Jeff Nipard’s guide.