Hi Eren GÜNDOĞAN, I can understand how exhausting this must be having to log back into multiple Microsoft apps every single time you restart your PC is not just inconvenient it disrupts your workflow and wastes time.
To fix Microsoft apps logging you out after every restart then remove outdated credentials in Credential Manager and confirm your Microsoft account in Settings then enable the Web Account Manager service and clear the IdentityCache folder then check Group Policy and registry for sign in restrictions then reset affected apps then run the Microsoft Account Troubleshooter and if it still happens create a new user profile and link your account.
After you restart your PC do these apps show any error messages or prompts like Enter your credentials again or do they simply log you out without explanation?
Best regards
Lucky