How can I disable auto keylock function of device with j2me ?

I want to do this, beacuse, I made a video player and it plays a long video. during playing video, keylock is activated, then screen turns to dark and althought there is sound, there is nothing on screen. how can I solve this problem ?