lockedby should be set to null