Depends what you mean by "auto logoff lock". If this is a home computer then change the screensaver settings (as suggested by boonality) and/or the power saving settings.
If this is a work computer it may be that a policy has been defined by your network administrator to lock the workstation after 5 minutes inactivity. In that case you can't change it, and you should respect the administrator's wishes.