Changing locking mechanism for check in/out

Now assets will be locked with all sub nodes editable. This is
different from before when the assets weren't locked at all once
they were checked in.