This commit adds a test to check if the user forgot to run `tools/update-locked-requirements` after updating dependencies. Modified by tabbott to disable it by default, since it takes over a minute to run. Fixes: #6324.