Hello,
Based on the error information you provided, I suggest you try searching for "Runtime" in Settings > Apps > Apps & features, find DynamicDependency LifetimeManager, the actual name is DDLM, go in and repair it or reset it in Advanced Settings to see if the problem can be solved.
Best Regards,
Zunhui
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.