[checkmk-commits] store unlock: Use same logic for release_all_locks() and release_lock()