Please consider beginning testing and planning for ASM JMeter 4 >5 script migration.
Jmeter 5 has security fixes, new features. But does some things differently in JMeter 5
Here is a third-part article on migration testing
At this time, there is no date when ASM will stop supporting JMeter 2 and 4. But it is good to handle the migration proactively rather than reactively with more time.
Eng has done extensive testing of JMeter 4 scripts with JMeter 5 should you have any questions .
JMeter 5 Support can be enabled in the User Id: ASM Preferences section