What causes jobs to be locked?