Removing "None" where 0 is to be used in Lock()