Thanks, actually didnt set pin and pattern lock. Tried resetting to factory setting but still getting same message that you do not have permission to access this device:(
1st step is done and nexus 4 shows on PC with MTP option selected on phone. However when trying to double click to access folders of nexus4 error comes as you do not have permission to access this device.
Anyone knows on what might be causing this?