configure autolock