GPS keeps on

How should I GPS keeps on when lock phone also