### Symfony version(s) affected 7.3.0-BETA2 ### Description symfony/lock is not required in messenger, so if you use it you get an error. ### How to reproduce Install messenger and try to use the DeduplicateStamp stamp ### Possible Solution Probably check that the class exists and if not prompt with a note to run composer require symfony/lock ### Additional Context _No response_