Won't work.
A PMOS turns on if gate is more negative than source.
A PMOS turns off if gate is equal to source or more positive.
Your uC can output at max 3.3V, so the PMOS will never turn off. Your uC could switch the gate pin to Input or Hi-Z. Then the pullup will brig the gate to source potential, but this is a slow process and therefore not recommended. A MOS transistor has very little losses when completely turned off or completely turned on. Staying in the gray region for an extended period of time will generate losses and heat. Don't do this. The gate is basically a capacitor, and you need current to charge and discharge the gate capacitance fast enough in order to avoid losses.
The best way is using a load switch. Example:
https://www.diodes.com/assets/Datasheets/AP22652_53_52A_53A.pdf+ good for up to 2.1A
+ built-in current limiter (no suffix) or latch-off protection (A suffix)
+ backflow protection. Current can only flow from in pin to out pin, but never backwards from out to in.
+ A 3.3V uC can drive the EN pin without problems. (Vh>=1.5V)
+ uses NFET instead of PFET. You want to avoid PFETs and use NFETs wherever possible because the charge mobility of electrons is MUCH MUCH higher than the charge mobility of holes. NFETs always have better properties and lower losses. The load switch has got a charge pump for generating the 10-15V required for fully turning on the internal pass NFET.
+ cheap (0.4€) for what it does.
+ internal fault detection (overcurrent, short circuit,...)
If 2A is not enough there are load switches with 6A, 12A or more current.
Or when using an external NFET there are gate drivers that have built-in charge pumps and can provide enough current to drive large FETs (up to several Amps).