attempting first impl of auto lock
persplocking can be custom, offset, default, or none