Passed Binary value to the lockflag.
Checking the Lockflag when Voucher is Edited and Deleted.
closes #424 (closed)