I have Shimano crank (MT300) with triple chainring (44-32-22), I want to change the outer chainring(44) with the bigger (maybe 50 or 52), can I use narrow wide chainring in outer gear? so the new set up will be (50-32-22). Any problem with shifting up and down after I use that new chainring?
Narrow-wide chainrings are specifically designed for single chainring drivetrains and cannot be used on double or triple derailleur cranks. A 50 tooth ring won't work on your setup either.
Narrow-wide chainrings are designed specifically to stop the chain coming off them, which is exactly what you don't want in a derailleur drivetrain. The derailleur likely will not be able to pull the chain off of or onto the ring at all.
Regular chainrings (and cassette sprockets) have ramps on the inner surface and specially profiled teeth which help the chain hop on and off the ring. A narrow-wide ring lacks those features that and has taller teeth that protrude further through the chain links.
Narrow-wide rings of course have alternating narrow and wide teeth that fit between the alternating inner and outer plates of the chain. If a derailleur were able to shift the chain into a a narrow-wide ring, half the time the teeth and chain links would be mis-aligned and the chain would not be able to drop onto the teeth.
Front derailleurs have a total capacity limit, which is the difference in number of teeth (and hence diameter) between the smallest and largest rings. if you put a 50 tooth ring on the crank you'll have to move the derailleur up on the frame, and the cage will not reach the smallest ring. Additionally the 32-50 tooth size difference between the middle and outer rings would be too large to get the chain to shift properly.
And, mountain bikes typically don't have chain-stay clearance for a 50 tooth ring.
With a nod to the correct information offered in Argenti's answer, I was thinking an option not mentioned for your situation may be to change the crankset to a mountain triple with tooth counts of 48-36-26. Here's a Shimano Deore crankset that has these tooth counts. The 10 speed version, FC-T6010 could work as well. Though not encouraged by Shimano, 10 speed chainsets will work in 9 speed set-ups without much fuss.
Looking at the latest Compatibility Chart from Shimano within the blocks diagraming 9 speed front crank and front derailleur compatibility, one can see that crankset models FC-M4060 and FC-T4060, which have tooth counts of 48-36-26, are housed within the same block as the MT300 (44-32-22). So, not only are these models swappable without changing the bottom bracket, but also have the same compatible front derailleurs of which there are several models, most importantly, the one you already have for the MT300.
Going to the larger crank, you'll likely have to move your front derailleur's mount position a touch higher to accommodate the increased chainwheel diameter of the 48t. In addition you should resize your chain (longer) because of the increased size of the chainwheel. For derailleur bikes that sport a largest rear sprocket of 28 teeth or more, the correct chain length is determined by wrapping the new chain around the large chainwheel and around the large rear sprocket in back WITHOUT going through the rear derailleur. Bring the ends together and at the point the links begin to overlap, add 2 links (1 wide + 1 narrow) to arrive at the correct chain length.