Dear Samsung Member,
Greetings from Samsung Customer Support!
Please be assured and to resolve "device lagging issue" kindly follow the given below step:
>>Check device cache: Settings>Device care>Storage>Clean now.
For a particular application: Settings>Apps>Pick the app that you like to clear off the cache memory. For example 'Samsung Internet' >Storage>Clear Cache.
Please visit this mentioned link for more information: https://www.samsung.com/in/support/mobile-devices/how-to-restart-the-device-when-freezed-or-hanged/
And as of now "screen recording" feature is not available in your device. So, whenever there will be any update or information available regarding it you will be informed for the same.
If the issue still persist regarding lagging, kindly register your concern in Samsung Members app (Samsung Members app > Get help > Feedback > Error report/ask question)along with screenshots, short videos and error log file, so that we can assist you accordingly.
Note: Please send device log files within 15 minutes of issue occurrence along with the exact issue details.
Thank you for writing to Samsung.
Samsung Customer Support