drivers: flash: w25q: Allow to skip SYNC_LOCK/SYNC_UNLOCK
drivers: flash: w25q: Allow to skip SYNC_LOCK/SYNC_UNLOCK

The next commit will use this new
spi_flash_wb_write_protection_set_with_lock() in
spi_flash_wb_write() that already hold the lock.
To prevent a lock we need to skip the SYNC_LOCK when we want
to disable write protection.

Signed-off-by: Olivier Martin <18c4aab7785225f7130e6cbf42afdcc441d1d34c@proglove.de>

finikorg/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,explora26/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,nashif/zephyr,nashif/zephyr,finikorg/zephyr,ldts/zephyr,nashif/zephyr,ldts/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,Vudentz/zephyr,Vudentz/zephyr,punitvara/zephyr,ldts/zephyr,punitvara/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,galak/zephyr,explora26/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,punitvara/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,nashif/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,explora26/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,finikorg/zephyr,explora26/zephyr,finikorg/zephyr,ldts/zephyr