Returns the current value of the flag that determines whether the drop-down list is locked. If the flag value is equal to true, the drop-down list is locked and becomes disabled, otherwise it is enabled and unlocked. The method fills a passed boolean value with the drop-down list lock flag value and returns it to a calling subroutine.