[LOCK]

Now lock struct is more configurable