If you have android phone and want to stop your phone from locking screen then below are steps to follow. Below steps may be little different in your phone but probably same.
Step 1
Go to settings option from your android phone
Step 2
Then select lock screen settings.
Step 3
Press the icon opposite to sleep which shows time.
Step 4
Select never.