Hi there, I was wondering what the optimal way is to have AI control the default player pawn while in a cinematic sequence and then give control back to the player once its over?

Hi there, I was wondering what the optimal way is to have AI control the default player pawn while in a cinematic sequence and then give control back to the player once its over? Im trying to make an opening cinematic sequence for my game where the player is walking forward while the input is disabled, and then after the sequence is over I give control to player.
Please dont tell me to just possess the pawn with AI and then switch to player, I need to know which nodes to use, and which blueprints to put them in. Thanks.