It worked, thanks
Try this: Go to Settings > Security > Lock screen then uncheck Pocket Dial Prevention Mode.
Please let me know if this work.