You mean your computer is locked with in 2 mins and you have to login again? If so change power settings.
Please refer below link and change you power settings accordingly
Regards, Ravikumar P
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?