I am new in magento. so, please give me a hint how to install magento 2.4.3p2 using composer with sample data
You can use this link :
But you have to install all prerequisites of the Magento
Example - Security patch
Security patches contain security fixes only. They are designed to make the upgrade process faster and easier.
Security patches use the Composer naming convention 2.4.3-px. Use Composer to specify a patch. For example, to download the Adobe Commerce 2.4.3-p1 metapackage:
composer create-project --repository-url=https://repo.magento.com/ magento/project-enterprise-edition=2.4.3-p2 <install-directory-name>