Set release/lock gate statements