It does work but you need to enable "access power menu" under Always on Display & Lockscreen. Apart from that I dont get the point of this option exactly because if you switch off the device while being locked , you can switch it off without any password request ALTHOUGH the new option is enabled.