[PATCH v2 27/30] mtd: spi-nor: Add support for locking on Macronix nor flashes