Any devices that were launched prior to this date will see the feature disappear in 60 days.
Huawei has thus far provided codes so that developers of custom ROMs could unlock the bootloaders on its devices.
This made its smartphone very popular with developers as it was one of the few manufacturers to offer this feature.
A spokesperson said: "Huawei will cease providing bootloader unlock codes for devices launched after 25 May 2018.
"For devices launched prior to the aforementioned date, the termination of the bootloader code application service will come into effect 60 days after [the] announcement.
"Huawei remains committed to providing quality services and experiences to its customers."